Jupyter Notebook 找不到 Python 3.6 的模块 [英] Jupyter Notebook can't find modules for python 3.6
本文介绍了Jupyter Notebook 找不到 Python 3.6 的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
不确定发生了什么,但每当我使用 ipython、氢(原子)或 jupyter notebook 时都找不到任何已安装的模块.我知道我已经安装了 Pandas,但笔记本说找不到.
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.
我应该补充一点,当我正常运行脚本(python script.py
)时,它确实导入而没有任何错误.
I should add that when I run the script normally (python script.py
) it does import without any errors.
建议?
谢谢!
推荐答案
尝试以下操作:
pip3 install ipykernel --upgrade
python3 -m ipykernel install --user
确保使用 pip3 安装了 Panda.
Make sure that Panda is installed using pip3.
这篇关于Jupyter Notebook 找不到 Python 3.6 的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文