jupyter ModuleNotFoundError:没有名为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/)