1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Running Jupyter with multiple Python and IPython paths

Discussion in 'Programming/Internet' started by npross, Sep 12, 2018.

Tags: Add Tags
  1. npross

    npross Guest

    I'd like to work with Jupyter notebooks, but have had difficulty doing basic imports (such as import matplotlib). I think this was because I have several user-managed python installations. For instance:

    > which -a python

    > which -a ipython

    > which -a jupyter

    I used to have anaconda, but removed if from the ~/anaconda directory. Now, when I start a Jupyter Notebook, I get a Kernel Error:

    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/pytho‌n3.5/subprocess.py",
    line 947, in init restore_signals, start_new_session)
    File "/Library/Frameworks/Python.framework/Versions/3.5/lib/pytho‌n3.5/subprocess.py",
    line 1551, in _execute_child raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2]
    No such file or directory: '/Users/npr1/anaconda/envs/py27/bin/python'

    What should I do?!

    Login To add answer/comment

Share This Page