Pycham安装深度学习依赖包很慢问题原因以及解决方法
·
1 采用的是国外网址
2 需要修改镜像源为国内网址
Pycham 终端 一键设置:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
3 其它
pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple/
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simplehttps://mirrors.aliyun.com/pypi/simple/
查看 pip config list
3 用命令下载安装包后,还需要在当前工程解释器中查找 install 一次
4

5 ubuntu下指定镜像源下载
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple torch torchvision torchaudio
6 ubuntu 下载失败需要设置DNS 手动设置


更多推荐
所有评论(0)