Answers for "how to use venv jupyter"

7

jupyter notebook venv

python -m ipykernel install --user --name=myenv
Posted by: Guest on May-20-2020
0

add venv to jupyter

# Activate the virtualenv ("your-venv")
$ source your-venv/bin/activate

# Install jupyter in the virtualenv
(your-venv)$ pip install jupyter

# Add the virtualenv as a jupyter kernel
(your-venv)$ ipython kernel install --name "local-venv" --user

You can now select the created kernel your-env when you start Jupyter
If you don't see the new kernel initially try refreshing
Posted by: Guest on February-21-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language