数字未正确安装



我一直在尝试使用 numpy 和需要 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 procedure could not be 
found.

我确实安装了数字。我有运行 python 10 的 Windows 10 64 位 3.6.此错误是什么意思,我该如何解决它?我已经卸载,重新安装并做了许多其他事情,但无济于事。我用了点子安装

从链接安装 Anaconda 下载蟒蛇。这将预装所有必需的库。 如果您想使用数据分析工具,这是最佳选择。

如果你在Windows上运行,你需要安装一些已经为你编译的库。否则,您必须获得正确版本的Visual Studio才能编译库。

从此站点下载适用于您的 python 版本的轮子

http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

然后pip install C:...Downloadsnumpy‑1.13.1+mkl‑cp36‑cp36m‑win32.whl

最新更新