安装TensorFlow中遇到 Cannot uninstall ‘wrapt‘

Posted zhulinmails

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装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






以上是关于安装TensorFlow中遇到 Cannot uninstall ‘wrapt‘的主要内容,如果未能解决你的问题,请参考以下文章

anaconda3 安装tensorflow 报Cannot remove entries fro

tensorflow 在加载大型的embedding模型参数时,会遇到cannot be larger than 2GB

解决windows安装TensorFlow2.0beta版本时ERROR: Cannot uninstall 'wrapt'问题

TensorFlow安装之后导入报错:libcudnn.so.6:cannot open sharedobject file: No such file or directory

Ubuntu下TensorFlow报错:Could not load dynamic library ‘libcudnn.so.8‘; dlerror: libcudnn.so.8: cannot..

解决 ImportError: cannot import name pywrap_tensorflow