Jupyter Notebook can't find modules for python 3.6

大憨熊 提交于 2019-12-11 16:56:39

问题


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 notebook says its not found.

I should add that when I run the script normally (python script.py) it does import without any errors.

Suggestions?

Thanks!


回答1:


Try the following:

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

Make sure that Panda is installed using pip3.




回答2:


Issue seems to be resolved by running

pip3 install rather than pip install



来源:https://stackoverflow.com/questions/50914761/jupyter-notebook-cant-find-modules-for-python-3-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!