Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: include PATH into the virtual env

...

No Format
conda activate myCondaEnv
conda install ipykernel
python3 -m ipykernel install --user --name=myCondaEnv --env PATH "$CONDA_PREFIX/bin:\$PATH"

If you want to make your own Python virtual environment visible in Jupyterlab, the steps are similar:

No Format
source /path/to/myVenv/bin/activate
pip3 install ipykernel
python3 -m ipykernel install --user --name=myVenv --env PATH "/path/to/myVenv/bin:\$PATH"

To remove your personal kernels from Jupyterlab once you don't need them anymore, you could do so with:

...