【发布时间】:2018-10-10 11:09:27
【问题描述】:
我很高兴使用 PyCharm 专业版有一段时间了。重新安装 miniconda 和 PyCharm 后,在任何 conda 环境中导入 numpy 都会导致以下错误:
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try 'git clean -xdf' (removes all
files not under version control). Otherwise reinstall numpy.
Original error was: DLL load failed: The specified module could not be found.
python 解释器设置正确(并打印在 PyCharm 控制台的顶部)。在 PyCharm 之外导入 numpy 就可以正常工作。
有没有人知道为什么会发生这种情况?
Windows 10 上的 Python 3.7 和 numpy 1.15.2 和 PyCharm Professional 2018.2.4。
谢谢!
【问题讨论】: