(tensorflow安装)tensorflow安装缓慢及报错解决方法


目录:

一、安装缓慢

二、卡在 Running setup.py bdist_wheel for grpcio ... 处的解决办法

三、报错: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.

 

一、安装缓慢

详见:

https://www.cnblogs.com/hwh000/p/12366933.html

 

二、卡在 Running setup.py bdist_wheel for grpcio ... 处的解决办法

这是正在编译,只需要耐心等待即可!根据电脑配置不同,等待时间也不同,多则几个小时,少则几十分钟。

 

三、报错:twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.

只需要在命令行输入  pip install PyHamcrest==1.9.0  即可

 

四、报错: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 -U --ignore-installed wrapt enum34 simplejson netaddr -i https://pypi.mirrors.ustc.edu.cn/simple/ --default-timeout=1000000  即可,然后在重新下载安装tensorflow即可。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM