Answers:
我有完全一样的错误:
ERROR: tensorboard 2.0.2 has requirement setuptools>=41.0.0, but you'll have setuptools 40.6.2 which is incompatible.
然后,我执行了以下三个步骤,并且成功了:
1)pip uninstall tensorflow-tensorboard
2)pip uninstall tensorflow-gpu
3)pip install --upgrade tensorflow-gpu
然后我以某种方式找到了这个结果。似乎它已修复。
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
三个步骤,它如前所述工作
> pip uninstall tensorflow-tensorboard
> pip uninstall tensorflow-gpu
> pip install --upgrade tensorflow-gpu
但是,如果您在卸载“ wrapt”时遇到错误,请尝试以下两个命令,希望一切正常。
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
请参阅此原始问题:https : //github.com/tensorflow/tensorflow/issues/30191
pip install --upgrade tensorflow-tensorboard