You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STORY: Users can use %pip to install with micropip in JupyterLite notebooks (so that notebooks with %pip will work with all Python Jupyter kernels)
%pip# works in jupyter_console, jupyter notebook, jupyterlab, but not in JupyterLite
!pip# doesn't work in pyodide (because there's no $SHELL; jupyterlite/jupyterlite#949)# Works with the pyodide Jupyter kernel but not ipykernel or xeus-python:importmicropipawaitmicropip.install(["pandas",])
A main for %pip would need or could have at least:
%pip --help
usage: piplite [-h] [--verbose] [--quiet] [--requirements [REQUIREMENTS ...]]
[--no-deps] [--pre]
{help,install} [packages ...]
a pip-like wrapper for `piplite` and `micropip`
positional arguments:
{help,install} action to perform
packages package names (or wheel URLs) to install
options:
-h, --help show this help message and exit
--verbose, -v whether to print more output
--quiet, -q only show the minimum output
--requirements [REQUIREMENTS ...], -r [REQUIREMENTS ...]
paths to requirements files
--no-deps whether dependencies should be installed
--pre whether pre-release packages should be considered
although it doesn't support the other subcommand than install that micropip has, so maybe those could be 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)A main for
%pip
would need or could have at least:The text was updated successfully, but these errors were encountered: