安装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

上一篇:【2019年8月】OCP 071认证考试最新版本的考试原题-第29题


下一篇:PostgreSQL 13: 逻辑复制支持分区表