[英]cannot import matplotlib.pyplot
I have installed the matplotlib in python,and when I import matplotlib
,it works well.But when I import matplotlib.pyplot as plt
,the command line prompt me that an importerror occurred. 我已经在python中安装了matplotlib,并且当我
import matplotlib
,它运行良好。但是当我import matplotlib.pyplot as plt
,命令行提示我发生了importerror。
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/nju/anaconda2/envs/tensorflow/lib/python2.7/site-packages/matplotlib/_path.so)
How can I solve the problem? 我该如何解决这个问题? Thanks very much
非常感谢
sudo apt install libgl1-mesa-glx
Above command is from the link below. 上面的命令来自下面的链接。
https://github.com/ContinuumIO/docker-images/issues/49 https://github.com/ContinuumIO/docker-images/issues/49
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.