pip安裝TensorFlow


安裝TensorFlow報錯,出現了了兩個標紅:
twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.
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.

第一個問題:
pip install PyHamcrest -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
第二個問題:
pip install -U --ignore-installed wrapt enum34 simplejson netaddr
然后再次安裝TensorFlow:
pip --default-timeout=1000 install tensorflow -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com


免責聲明!

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



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