嗯,在我的.bash_profile中添加第二行后,它可以工作: #this was already there export http_proxy="192.168.0.99:8080" #this line added made it work export https_proxy="192.168.0.99:8080" 在网络设置中激活代理失败了,非常奇怪。
ls -la ~/.bash_profile
命令检查它是否存在,否则你可以创建它。 - Daniel Brown