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

I just did a pip install setuptools --upgrade

then

pip install tensorflow


I had the exact same error:

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 uninstall tensorflow-tensorboard 2) pip uninstall 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

Successfully installed setuptools-42.0.2 tensorflow-gpu-2.0.0


Uninstall TensorFlow using command pip uninstall tensorflow

Re-install it using the command pip install --upgrade tensorflow