我想使用 pip3 安装一个包,但是发生了以下情况:
Ubuntu@User:~$ pip3 install <package-name>
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not install packages due to an OSError: Failed to parse: https://<proxy>:<port>/
有人能帮我吗?我想我应该更改代理设置,但是该怎么做呢?
答案1
最后是代理配置,问题解决了!
git config --global --unset http.proxy
git config --global --unset https.proxy
unset http_proxy
unset ftp_proxy
unset all_proxy
unset https_proxy
unset no_proxy