Wednesday, November 6, 2013

Set proxy for python and easy_install downloading on mac

If you get an error when using easy_install or "python ez_setup.py" behind a proxy as
"nodename nor servname provided, or not known -- Some packages may not be found!", then you will need to add the proxy settings as below:

export http_proxy=http://proxy:8080

export https_proxy=http://proxy:8080

If you get an error of "Permission denied", then you will need to use sudo command, but for sudo with easy_install, it also requires to use -E option to preserve the proxy settings

sudo -E easy_install sqlalchemy==0.7.10

3 comments:

  1. Your blogs are great.Are you also searching for Cheap Nursing Writing company? we are the best solution for you. We are best known for delivering cheap nursing writing services to students without having to break the bank.whatsapp us:+1-(951)-468-9855

    ReplyDelete
  2. Great Platform. Are you also searching for nursing essay writing help? we are the best solution for you. We are best known for offering the best nursing essay writing services

    ReplyDelete