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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM