Jupyter Notebook can't find modules for python 3.6

后端 未结 5 1214
鱼传尺愫
鱼传尺愫 2021-01-12 06:33

Not sure what happened but whenever I use ipython, hydrogen (atom) or jupyter notebook can\'t find any of the installed modules. I know I have pandas installed but the noteb

5条回答
  •  忘掉有多难
    2021-01-12 06:49

    The commands:

    pip3 install ipykernel --upgrade
    python3 -m ipykernel install --user
    

    worked for me only after I re-installed pip (note I was having the issue for python 3.7).

    For that I did:

    pip uninstall pip
    

    then I used the (deprecated) command:

    sudo easy_install pip
    

    I also deleted any pip related thing in /usr/local/bin with the command:

    rm -rf pip*
    

    hopefully, this is helpful to someone else :)

提交回复
热议问题