1.解决pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool:
方法:直接指定特定源
- 指定清华源(貌似快一点,但最终还是没成功)
pip --default-timeout=100 install torch -i https://pypi.tuna.tsinghua.edu.cn/simple
- 指定豆瓣源(很快,Successfully)
pip --default-timeout=100 install torch -i https://pypi.douban.com/simple