安装tensorflow过程中遇到的问题

  1. 下载时间过长问题,报错:
HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
解决方法:pip --default-timeout=100 install -U tensorflow
  1. 已经安装过wrapt无法卸载wrapt,导致tensorflow无法安装下去。
解决方法:sudo pip install tensorflow --ignore-installed wrapt
 
但是这两个方法单独执行任何一句,都会忽略另外一个,因此自创命令:
Sudo pip --default-timeout=100 install -U tensorflow --ignore-installed wrapt
竟然可以运行,哈哈哈,就看安装能否成功了。 

posted on 2019-06-21 15:59  lihongly  阅读(332)  评论(0)    收藏  举报

导航