[python] 安裝TensorFlow問題 解決Cannot uninstall 'wrapt'. It is a distutils installed project


cmd安裝 pip install tensorflow

 

1.遇到了

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.

辦法1:輸入 pip install -U --ignore-installed wrapt enum34 simplejson netaddr

參考:https://www.cnblogs.com/xiaowei2092/p/11025155.html

 

2.遇到了

ERROR: tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 39.1.0 which is incompatible.

原因: setuptools 版本太低

辦法:更新setuptools版本 輸入 pip install --upgrade setuptools


免責聲明!

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



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