[Python] installation TensorFlow problem solving Can not uninstall 'wrapt'. It is a distutils installed project

cmd install pip install tensorflow

 

1. encountered

ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Option 1: Enter pip install -U --ignore-installed wrapt enum34 simplejson netaddr

Reference: https: //www.cnblogs.com/xiaowei2092/p/11025155.html

 

2. met

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

The reason: setuptools version is too low

Measures: setuptools updated version of the input pip install --upgrade setuptools

Guess you like

Origin www.cnblogs.com/conver/p/11141176.html