【发布时间】:2016-01-04 18:05:04
【问题描述】:
我正在尝试运行导入 Numpy 的 Python 代码。但是,每次我尝试这样做时,它都会显示
Error importing numpy: you should not try to import numpy from its source directory;
please exit the numpy source tree, and relaunch your python interpreter from there.
然后我删除了 Numpy 目录
sys.path.remove(\...)
并重新启动 Python shell。现在它仍然显示相同的错误消息,当我尝试使用 sys.path 命令时,它会打印
NameError: name 'sys' is not defined
谁能帮帮我?
【问题讨论】: