本文介绍了错误:tensorboard 2.0.2的需求setuptools> = 41.0.0,但您将拥有不兼容的setuptools 40.6.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装中出现此错误.这会引起问题吗?

gave this error in installation. Does this cause a problem?

错误:tensorboard 2.0.2具有需求setuptools> = 41.0.0,但是您将拥有不兼容的setuptool 40.6.2.

ERROR: tensorboard 2.0.2 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.2 which is incompatible.

推荐答案

我有完全相同的错误:

ERROR: tensorboard 2.0.2 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.2 which is incompatible.

然后,我执行了以下三个步骤,并且成功了:

Then I did the following three steps and it worked:

1) pip卸载tensorflow-tensorboard 2) pip卸载tensorflow-gpu 3) pip install --upgrade tensorflow-gpu

然后我以某种方式找到了这个结果.看来它已解决.

Then somehow I found this result. It seems that it has been fixed.

Installing collected packages: tensorflow-gpu, setuptools
Found existing installation: setuptools 40.6.2
Uninstalling setuptools-40.6.2:
Successfully uninstalled setuptools-40.6.2

成功安装了setuptools-42.0.2 tensorflow-gpu-2.0.0

Successfully installed setuptools-42.0.2 tensorflow-gpu-2.0.0

这篇关于错误:tensorboard 2.0.2的需求setuptools> = 41.0.0,但您将拥有不兼容的setuptools 40.6.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-13 13:37