我已经成功安装了Python 2.7和Anaconda,但是当我尝试导入一个库时,我总是遇到这个错误:
>>> import scipy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named scipy
Run Code Online (Sandbox Code Playgroud)
我已经设置了PYTHONHOME对C:\Python27和PYTHONPATH对C:\Python27\Lib.
编辑:PATH的内容
在我的$ PATH变量中,我有C:\Users\Mattia\Anaconda2,C:\Users\Mattia\Anaconda2\Scripts和C:\Users\Mattia\Anaconda2\Library\bin.
我是否必须设置任何其他环境变量?