我想要python的一些数字模块。我从enthought安装了机盖,应该有我需要的所有必要模块。例如:matplotlib.pyplot和scipy。 安装后,我试图导入模块,我得到以下错误。 我有我的Mac OS X中运行的python2.7。如果我必须更改我的pythonPath或其他东西来做这项工作,我搜索了网络,但找不到明确的答案。从终端安装enthought canopy后不能导入matplot
import matplotlib.pyplot as plt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named matplotlib.pyplot
import scipy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named scipy
感谢
当你键入'哪个python'时,你的终端会说什么? – jonathanrocher