pip install git

pip 直接安装git上的项目

pip install git+https://xxx/qmc.git

产生报错:

fatal : unable to access ‘https://xxx/qmc.git/’ : Failed to connect to 127.0.0.1 port 31181 : Connection refused

解决方法:

查看是否有代理:git config --list

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-kV06STNL-1669010841373)(C:\Users\hp\Desktop\c998542c5a1aebd1b2b4685a7e46e74.png)]

取消代理:git config --global --unset http.proxygit config --global --unset https.proxy

et https.proxy`

再次查看git config --list后,将不存在代理。此时可进行pip install git

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐