解决在ubuntu上用pip安装TensorFlow慢的问题

https://blog.csdn.net/weixin_38109583/article/details/93376954

遇到pip安装tensorflow慢的原因是默认使用了国外的镜像包
由于墙的问题导致安装缓慢
这时候可以使用豆瓣的tensorflow镜像即可,打开cmd,输入如下命令即可:
python -m pip install tensorflow -i https://pypi.douban.com/simple

注:ubuntu默认python2用户请使用python3命令

猜你喜欢

转载自blog.csdn.net/WILDCHAP_/article/details/107528316