Jupyter Notebook can't find modules for python 3.6

后端 未结 5 1210
鱼传尺愫
鱼传尺愫 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:48

    I was having a similar issue. I installed a text processing tool using pip3. The installation was successful and I was able to run the test-code from the terminal, however I was unable to execute the same code from jupyter notebook. Checked that the sys.version was 3.7.1 in notebook but the terminal version was 3.6.9.

    The problem was resolved after executing the following commands and relaunching the notebook:

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

提交回复
热议问题