Jupyter notebook, wrong sys.path and sys.executable

后端 未结 3 586
野趣味
野趣味 2021-02-04 12:01

I\'m trying to run the anaconda distribution of python libraries in a Jupyter Notebook, but when I run the notebook I keep getting ImportErrors because the python path is set to

3条回答
  •  感动是毒
    2021-02-04 12:50

    I figured out the solution, since the kernel was set to use the default mac os x's python I fixed it by using the commands

    python2 -m pip install ipykernel

    python2 -m ipykernel install --user

提交回复
热议问题