I\'m trying to use a Jupyter Notebook in a virtual environment.
I have created a new virtualenv virtualenv ker12
+ activate + installed a specific version of ke
the solution is to open jupyter notebook with following command:
~/virtualenv/my_venv_name/bin/jupyter-notebook
You should not install ipykernel
- instead, you should go for a full Jupyter installation (pip install jupyter
) inside your virtual environment. Additionally, be sure that you don't create your virtual environment with the --system-site-packages
option.
See also this answer.