python3.8版本安装tensorflow

python3.8安装tensorflow

anaconda中存在conda(可在cmd中查看 conda --version)

在cmd中执行这个语句:

pip --default-timeout=100 install tensorflow -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

报错信息:python3.8版本安装tensorflow_第1张图片

大概意思是:我们建议您使用–use feature=2020 resolver在新的解析器成为默认解析器之前测试您的软件包。

解决方法:

pip --default-timeout=100 install tensorflow -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com  

将上述语句更改为下面的执行语句:

pip --default-timeout=100 install tensorflow --use-feature=2020-resolver -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com--version 

你可能感兴趣的:(python,python,tensorflow)