首先进行pytorch的安装
pip install torch===1.6.0 torchvision===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
采用国内的清华镜像源进行实践,实现提速
git config --global http.proxy socks5://127.0.0.1:10808 git config --global https.proxy socks5://127.0.0.1:10808
一定注意此处是没有引号的,网上的教程是 git config --global http.proxy 'socks5://127.0.0.1:10808' git config --global https.proxy 'socks5://127.0.0.1:10808' 此处解析出了引号'' 这使得git无法正确解析socks协议,从而找不到端口
git config --global --get http.proxy git config --global --get https.proxy