micropip.install¶
-
micropip.
install
(requirements: Union[str, List[str]])¶ Install the given package and all of its dependencies.
This only works for pure Python wheels or for packages built in pyodide. If a package is not found in the pyodide repository it will be loaded from PyPi.
- Parameters
requirements –
a requirements or a list of requirements to install. Can be composed either of
package names, as defined in pyodide repository or on PyPi
URLs pointing to pure Python wheels. The file name of such wheels end with
none-any.whl
.
- Returns
- Return type
a Promise that resolves when all packages have downloaded and installed.