Pip下载Module
Contents
Pip 下载东西总是哪里会出一个幺蛾子……即使加上镜像……
使用下列指令下载:
1 | pip pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --default-timeout=100 --upgrade tensorflow-gpu |
其中--default-timeout项可以避免:
1 | ReadTimeoutError: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Read timed out. |