为什么python安装不了numpy库_python – NumPy库ImportError:DLL加载失败:找不到指定的过程...

我在

Windows 10上使用Visual Studio 2017学习python.当我尝试将NumPy库导入到我的代码中时,会出现此错误.我已经尝试卸载并重新安装,在

ImportError: DLL load failed when importing Numpy installed in conda virtual environment中按照指令查找libiomp5md.dll,但不以为准.

Traceback (most recent call last):

File "C:\Program Files\Python36\lib\site-packages\numpy\core\__init__.py", line 16, in

from . import multiarray

ImportError: DLL load failed: The specified procedure could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Users\adm\documents\visual studio 2017\Projects\Web Scraping\Web Scraping\Web_Scraping.py", line 17, in

import numpy

File "C:\Program Files\Python36\lib\site-packages\numpy\__init__.py", line 142, in

from . import add_newdocs

File "C:\Program Files\Python36\lib\site-packages\numpy\add_newdocs.py", line 13, in

from numpy.lib import add_newdoc

File "C:\Program Files\Python36\lib\site-packages\numpy\lib\__init__.py", line 8, in

from .type_check import *

File "C:\Program Files\Python36\lib\site-packages\numpy\lib\type_check.py", line 11, in

import numpy.core.numeric as _nx

File "C:\Program Files\Python36\lib\site-packages\numpy\core\__init__.py", line 26, in

raise ImportError(msg)

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值