Python numpy Import Error Something is wrong with the numpy installation. an older

Python3的numpy更新可能会出现问题!!

这里的错误信息描述比较详细,
但是也是希望可以对症下药,
如果嫌麻烦可以直接跳到后文
根据解决方案进行尝试。

不说废话,直接看报错信息(Import Error):

错误信息描述

症状一

ImportError: Something is wrong with the numpy installation.

ImportError: Something is wrong with the numpy installation. 
While importing we detected an older version of numpy in 
['D:\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\numpy']. 
One method of fixing this is to repeatedly uninstall numpy 
		until none is found, then reinstall this version.

出现这个报错说明在你安装新的软件,或者更新numpy或者干什么的时候,旧的numpy没有卸载掉,两版numpy导致出现冲突。

症状二

一般这种情况下还会伴随有另一个报错:

UserWarning: loaded more than 1 DLL from .libs

进到信息中指定的.libs文件夹中会发现,确实是多了一个DLL文件,注意,这两个文件有一个你有权限删除,但是另一个你不能删除&

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值