Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8324549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:06:46+00:00 2026-06-09T00:06:46+00:00

I am trying to run a script that installs pip: get-pip.py and am getting

  • 0

I am trying to run a script that installs pip: get-pip.py and am getting a connection timeout due to my network being behind an HTTP proxy. Is there some way I could configure an HTTP proxy in my Python 2.7 installation to be able to install what I am trying to install?

Note: I am using Windows. Below is the error I am getting:

C:\SetupFiles>python get-pip.py
Downloading/unpacking pip
  Cannot fetch index base URL http://pypi.python.org/simple/
  Could not find any downloads that satisfy the requirement pip
No distributions at all found for pip
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:06:48+00:00Added an answer on June 9, 2026 at 12:06 am

    It looks like get-pip.py has been updated to use the environment variables http_proxy and https_proxy.

    Windows:

    set http_proxy=http://proxy.myproxy.com
    set https_proxy=https://proxy.myproxy.com
    python get-pip.py
    

    Linux/OS X:

    export http_proxy=http://proxy.myproxy.com
    export https_proxy=https://proxy.myproxy.com
    sudo -E python get-pip.py
    

    However if this still doesn’t work for you, you can always install pip through a proxy using setuptools‘ easy_install by setting the same environment variables.

    Windows:

    set http_proxy=http://proxy.myproxy.com
    set https_proxy=https://proxy.myproxy.com
    easy_install pip
    

    Linux/OS X:

    export http_proxy=http://proxy.myproxy.com
    export https_proxy=https://proxy.myproxy.com
    sudo -E easy_install pip
    

    Then once it’s installed, use:

    pip install --proxy="user:password@server:port" packagename
    

    From the pip man page:

    –proxy
    Have pip use a proxy server to access sites. This can be specified
    using “user:password@proxy.server:port” notation. If the password
    is left out, pip will ask for it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to run this script that basically reads/interprets text in from a textfile
I'm trying to run a script that will fade out all the divs selected
I'm trying to run a bash script that has: ssh -l <username> <compname> 'sudo
I'm trying to make a script that will go into a directory and run
I'm trying to run this script on Mac OS 10.7 (Lion) and I'm getting
I am trying to modify a batch script that installs a simple script file
I am trying to run a script on a Debian server that uses module
I'm trying to get a non-generated script when I run setup.py install for a
I'm trying to get a non-generated script when I run setup.py install for a
I'm trying to run on my mac os 10.6 a Ruby script that apparently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.