windows系统下Anaconda3中的tensorflow的安装以相关错误解决

**

一、windows系统下Anaconda3中的tensorflow的安装

**
①在https://pypi.org/project中搜索下载tensorflow的.whl文件
在这里插入图片描述
②下载好后将其放入Anaconda3\Lib\site-packages文件下,在该文件夹下打开Powershell窗口运行
pip install tensorflow-2.1.0-cp36-cp36m-win_amd64.whl
在这里插入图片描述

二、遇到的错误

①问题:Cannot uninstall 'pyasn1'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决:
1. 卸载pyasn1,删除site-packages的相关文件
2.https://pypi.org/project/pyasn1/#files在官网上下载源码,gz格式的,下载 之后将其解压后放到刚刚的文件夹里
3、https://pypi.org/project/pyasn1/#files在官网上下载源码,gz格式的,下载之后将其解压后放到刚刚的文件夹里;
4、然后cd进入根目录,输入以下代码进行安装:
python setup.py build
python setup.py install

②**ERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.**
解决: pip install six --upgrade --ignore-installed six

ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决:pip install wrapt --upgrade --ignore-installed wrapt

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值