jupyter notebook running kernel in different env

前端 未结 5 1753
醉酒成梦
醉酒成梦 2020-11-28 01:11

I\'ve gotten myself into some kind of horrible virtualenv mess. Help?!

I manage environments with conda. Until recently, I only had a python2 jupyter

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-28 01:48

    In my case somehow jupyter wasn't able to 'pick' the virtual environment's python. So I had to edit ~/.local/share/jupyter/kernels/{my_env_name}/kernel.json and add path to the interpreter

    in the argv key.

提交回复
热议问题