我目前正在尝试使用基本的 python - jupyter 项目。
我在 matplotlib 期间遇到以下错误:
ModuleNotFoundError: 没有名为“matplotlib”的模块
我尝试在 conda 和 pip 中更新、重新安装 matplotlib,但它仍然无法正常工作。
对每一个建设性的反馈感到高兴
最佳答案
在笔记本的单元格中键入并执行代码:
import sys
!{sys.executable} -m pip install --user matplotlib
重新加载内核
(来源:http://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/)
关于python - jupyter 模块未找到错误 : No module named matplotlib,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42321784/