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