jupyter notebook 报错 ImportError: No module named matplotlib

jupyter notebook 报错 ImportError: No module named matplotlib_第1张图片

解决办法:

打开Anaconda Prompt  列出conda环境:

conda info --envs

结果显示:

# conda environments:
#
tensorflow            *  D:\anaconda\envs\tensorflow
root                     D:\anaconda

激活tensorflow

activate tensorflow

最后用pip安装matplotlib模块:

pip install matplotlib

安装完后即可解决!

 

转载于:https://www.cnblogs.com/guohaoblog/p/9362169.html

你可能感兴趣的:(jupyter notebook 报错 ImportError: No module named matplotlib)