Jupyter Notebook in virtual environment doesn't see the virtual env packages
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.