错误如下:
Installing collected packages: grpcio, absl-py, keras-preprocessing, setuptools, protobuf, markdown, cachetools, pyasn1, pyasn1-modules, rsa, google-auth, oauthlib, requests-oauthlib, google-auth-oauthlib, tensorboard, termcolor, google-pasta, astor, gast, keras-applications, opt-einsum, wrapt, tensorflow-gpu
Found existing installation: setuptools 39.1.0
Uninstalling setuptools-39.1.0:
Successfully uninstalled setuptools-39.1.0
Found existing installation: wrapt 1.10.11
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.
解决办法就是到site-packages目录下找到wrapt-1.10.11.egg.info文件并删除