pip behind corporate firewall


Problem: Unable to install virtualenv using pip behind the proxy

Solution: Similar to what we did when we installed git http://go-gaga-over-testing.blogspot.com.au/2015/04/setup-github-within-companys-firewall.html behind a company's firewall we shall set the proxy

pip install --proxy="myproxyname.mydomain.com:8080" virtualenv

Or 

pip install --proxy="http.proxy http[s]://userName:password(encoded)@proxyaddress:port" virtualenv

Comments

  1. Thank You for sharing such a nice and interesting blog with us. hope it might be much useful for us. keep on updating...
    ROI Services in Chennai

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete

Post a Comment

Popular posts from this blog

Software Testing @ Microsoft

Trim / Remove spaces in Xpath?