micropip icon indicating copy to clipboard operation
micropip copied to clipboard

A lightweight Python package installer for Pyodide

Results 26 micropip issues
Sort by recently updated
recently updated
newest added

STORY: Users can use `%pip` to install with micropip in JupyterLite notebooks (so that notebooks with `%pip` will work with all Python Jupyter kernels) ```python %pip # works in jupyter_console,...

I'm building a package which has a large dependency tree. So I build it with pyodide build including dependencies, and get myself all the wheels (18 wheels, plus some pyodide...

## 🚀 Feature We should have a micropip version of `pip install -r requirements.txt`. Maybe `micropip.install(requirements_file="some/path")`.

enhancement

We parse and compare versions lots of times when searching for an appropriate package, but parsing and comparing Version (`packaging.version.Version`) is quite expensive. See: https://github.com/pyodide/micropip/pull/71#issuecomment-1630859157 So it would be nice...

enhancement
good first issue

## 🐛 Bug When install optional dependency `micropip.install(['pydantic[email]'])` (defined [here](https://github.com/pydantic/pydantic/blob/b348cd493ae15aa16de8e37073637fcf9bfd61cc/pyproject.toml#L69C11-L69C34)), however, installing the dependency manually works. ### To Reproduce Go to https://pyodide.org/en/stable/console.html ``` Welcome to the Pyodide terminal emulator 🐍...

bug

`micropip.freeze()` returns the `pyodide-lock.json` contents, and it would be nice if there was some convenience function that would trigger the download of such `pyodide-lock.json`. Maybe something like, ```py def download_pyodide_lock():...

enhancement

Resolve #51 ~~This PR changes `micropip.install` behavior to remove previously installed packages and reinstall the new version. In addition, it adds the `force_reinstall` parameter to `micropip.install`, allowing it to force...

Currently if a package is already installed, we can't re-install a different version, ```py >>> import micropip >>> await micropip.install('packaging==23.0') Traceback (most recent call last): File "", line 1, in...

sprint

Add the following language > See https://pyodide.org/en/stable/development/building-and-testing-packages.html for info on how to build an emscripten wheel To the error message here: https://github.com/pyodide/micropip/blob/main/micropip/_micropip.py#L118

As summarized in https://github.com/pyodide/pyodide/issues/3093#issuecomment-1245786852 by @bollwyvl there are a number of features in piplite/JupyterLite built on top of micropip, some of which could make sense to move upstream, now that...