## 配置国内镜像 pip3 config set global.index-url https://pypi.douban.com/simple/ ## 查看当前镜像 pip3 config list ## 恢复到默认源 pip config unset global.index-url ## 从指定镜像源安装某个软件包 pip3 install torch -i https://pypi.tuna.tsinghua.edu.cn/simple
© 著作权归作者所有