matplotlib 使用时遇到的错误:ImportError: No module named six
2014-05-25 14:51
916 查看
刚刚借了本Numpy的书,安装了Numpy,matplotlib和scipy。
运行书中的示例时,遇到了错误:
从前三行代码看,这三个库应该都安装成功了,但是在调用six这个模块时没有找到。
解决办法是:在 C:\Python27\Lib\site-packages\scipy\lib 目录下找到six模块,并把six.py,six.pyc,six.pyo三个文件考到
C:\Python27\Lib\site-packages目录下,即可。
运行书中的示例时,遇到了错误:
从前三行代码看,这三个库应该都安装成功了,但是在调用six这个模块时没有找到。
解决办法是:在 C:\Python27\Lib\site-packages\scipy\lib 目录下找到six模块,并把six.py,six.pyc,six.pyo三个文件考到
C:\Python27\Lib\site-packages目录下,即可。
相关文章推荐
- 使用pip遇到错误ImportError: No module named packaging.version的解决方法
- ImportError: No module named matplotlib.pyplot
- ImportError: No module named matplotlib.pyplot安装模块python
- ImportError: No module named matplotlib.pyplot
- jupyter notebook import error: no module named 'matplotlib'
- ImportError: No module named matplotlib.pyplot
- ImportError:No module named matplotlib.pyplot
- ImportError: No module named matplotlib
- ImportError: No module named matplotlib.pyplot安装模块python
- Python配置matplotlib--no module named six matplotlib
- 使用matplotlib报错,AttributeError: module 'matplotlib' has no attribute 'verbose'
- centos7上matplotlib 无法绘图,报错先ImportError: No module named Tkinter,后_tkinter.TclError: no display name
- anaconda 使用import sklearn.model_selection 出错ImportError: No module named model_selection
- yum 出现错误ImportError: No module named urlgrabber.grabber
- tensorflow 错误ImportError: No module named sklearn
- django 错误之 ImportError: No module named **
- matplotlib show() 立即返回,无效,no module named _backend_gdk
- anaconda 使用import sklearn.model_selection 出错ImportError: No module named model_selection
- py2exe error: "ImportError: No module named httplib"
- 错误提示:ImportError: No module named skimage.io