anaconda安装TensorFlow报错

在尝试使用Anaconda安装TensorFlow时遇到了pip版本过低和numpy重复安装的问题。为了解决pip版本问题,建议避免直接更新pip,而是使用特定命令进行快速升级。对于numpy的冲突,需要先卸载再重新安装。通过多次执行卸载命令,直至系统找不到numpy,然后重新安装numpy,确保问题得到解决。最后验证numpy和pip的状态,确认没有错误。
摘要由CSDN通过智能技术生成

1.警告

You are using pip version 18.1, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.

警告:

pip版本太低,需要升级

方法:

不要采用更新pip的语句,很容易报错!
使用下面命令,很快搞定!:

   easy_install pip

2.报错

ImportError: Something is wrong with the numpy installation. While importing we
detected an older version of numpy in ['G:\\Program\\Anaconda3\\lib\\site-packag
es\\numpy']. One method of fixing this is to repeatedly uninstall numpy until no
ne is found, then reinstall this version.

原因:

numpy重复安装,需要卸载。网上的教程使用更新numpy的方法,不奏效!

方法:

使用卸载命令,重复卸载:

pip uninstall 
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值