Jupyter Notebook in virtual environment doesn't see the virtual env packages

后端 未结 2 855
北恋
北恋 2021-01-04 03:51

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

相关标签:
2条回答
  • 2021-01-04 04:39

    the solution is to open jupyter notebook with following command:

    ~/virtualenv/my_venv_name/bin/jupyter-notebook

    0 讨论(0)
  • 2021-01-04 04:45

    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.

    0 讨论(0)
提交回复
热议问题