jupyter ModuleNotFoundError:没有名为matplotlib的模块 [英] jupyter ModuleNotFoundError: No module named matplotlib
本文介绍了jupyter ModuleNotFoundError:没有名为matplotlib的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我目前正在尝试使用基本的python-jupyter项目.
I am currently trying to work basic python - jupyter projects.
我在matplotlib期间遇到以下错误:
I am stuck on following error during matplotlib:
关于jupyter错误的屏幕截图
screenshot on jupyter-error
ModuleNotFoundError:没有名为' matplotlib '
ModuleNotFoundError: No module named 'matplotlib'
我尝试更新,并在conda和pip中重新安装matplotlib,但仍然无法正常工作.
I tried to update, reinstall matplotlib aswell in conda and in pip but it still not working.
对每一个建设性的反馈感到满意
happy over every constructive feedback
推荐答案
在笔记本的单元格中,执行代码:
In a Notebook's cell type and execute the code:
import sys
!{sys.executable} -m pip install --user matplotlib
并重新加载内核
(src: http://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/)
这篇关于jupyter ModuleNotFoundError:没有名为matplotlib的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文