windows下在使用清华源超时pip install -U tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple
。遇到了问题:socket.timeout:The read operation timed out
大概是由于网速不稳定,下载过慢,超出默认时间。
修改输入 pip --default-timeout=100 install 包名
这里我使用的是pip --default-timeout=1000 install -U tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple