我尝试在Pycharm控制台中导入matplotlib.pyplt
import matplotlib.pyplot as plt
然后我得到:
Traceback (most recent call last):
File "D:\Program Files\Anaconda2\lib\site-packages\IPython\core\interactiveshell.py",line 2881,in run_code
exec(code_obj,self.user_global_ns,self.user_ns)
File "
我的python版本:
Python 2.7.12 |Anaconda 4.2.0 (64-bit)| (default,Jun 29 2016,11:07:13) [MSC v.1500 64 bit (AMD64)] on win32
但是当我尝试在Ipython中导入matplotlib时,它可以工作.我的Pycharm控制台有问题吗?
最佳答案
原文链接:https://www.f2er.com/python/438639.html