安装TensorFlow中遇到 Cannot uninstall 'wrapt'

Installing collected packages: setuptools, markdown, protobuf, grpcio, tensorboard, wrapt, tensorflow-estimator, google-pasta, termcolor, astor, tensorflow
  Found existing installation: setuptools 40.2.0
    Uninstalling setuptools-40.2.0:
      Successfully uninstalled setuptools-40.2.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.

解决方案:

删除'wrapt..egg-info'文件,然后就不会报错啦。

参考资料来源:

https://blog.csdn.net/X_kh_2001/article/details/81146916

猜你喜欢

转载自www.cnblogs.com/zhulinmails/p/11610412.html