当我在我的macbook终端中运行curl http://google.com
时,它总是给我错误:curl: (6) Could not resolve host: “127.0.0.1
。我曾经编辑我的~/.bash_profile
来添加http_proxy,但我删除了它们并关闭了我的代理并仍然出现此错误,有人知道原因吗?这是我~/.bash_profile
现在的样子:
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH
export PATH="$HOME/.fastlane/bin:$PATH"