Anaconda未更新为tensorflow 2.0

2024-06-26 02:23:02 发布

您现在位置:Python中文网/ 问答频道 /正文

不,其他地方尚未回答此问题:)

在窗口10的Anaconda中尝试将tensorflow升级到2.1.0版时,我收到一条错误消息(见下文),或者什么都没有,但版本保持不变1.13.1

我试过:

pip install tensorflow --upgrade (and different variation where I specify the version...)
pip install --user tensorflow
"same thing with pip3"
conda install -c anaconda tensorflow
conda config --set ssl_verify False  (or no as I ve seen it some times)
conda remove certifi
conda install certifi

我已将我的pip更新为最新版本并重试。我还将Anaconda更新为最新版本。我尝试过通过Anaconda Navigator进行更新,一切都很顺利,但版本保持不变。即使扫描完所需的软件包,也会显示版本2.1.0

错误消息: 它开始下载软件包,然后在下载过程中突然

ERROR: Could not install packages due to an EnvironmentError: SSL: DECRYPTION_FAIL_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2471).

我是一个全新的Anaconda安装,奇怪的是我在笔记本电脑和2台台式机上安装了这个版本的Anaconda。(Python 3.7/Spyder 4.0.1)。 我的笔记本电脑(公司笔记本电脑)从来没有出现过问题,但我的个人台式机和公司台式机都有问题

我之所以提到这一点,是因为我读过一篇文章,人们说Python3.7可能是原因。这不是我的情况,我在笔记本电脑上用Python 3.7使用tensorflow 2.1.0已经有一段时间没有问题了

这几天我都快疯了谢谢你的帮助

谢谢大家,


Tags: installpipor版本消息ssltensorflow地方