0

我在安装 pythonxy 后收到一个错误,据我所知,pythonxy 包括 numpy 和 scipy,但是我无法在命令提示符下导入这些功能。我该如何处理这个问题?这是我的错误消息,感谢stackoverflow社区。

    C:\WINDOWS\system32>python
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'numpy'
>>> import scipy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'scipy'
4

1 回答 1

0

Python(x,y) 安装 Python 2.7。看来您已经开始使用 Python 3。如何在 cmd 中运行不同的 python 版本中的讨论可能会有所帮助。

于 2015-11-12T20:43:46.930 回答