2

During Python 3.4.4 installation on Windows 7, I checked PIP and "add to Path." Every library I've tried to install via pip has so far resulted in "Could not find a version that satisfies the requirement (from versions:) No matching distribution found for wheel." I've also tried installing pip by downloading and running the get-pip.py file, but this results in the same error message when it tries to install wheel.

Are there any ideas why this is happening? Thanks ahead of time.

Edit 1: Added OS

Sandy
  • 51
  • 1
  • 7
  • Did you use `pip3` or `pip`? What is your OS? – Xiongbing Jin Apr 07 '16 at 19:20
  • @warmoverflow As far as I know, I think I'm using pip. My OS is Windows 7. – Sandy Apr 07 '16 at 19:21
  • If you're using Linux, you may need sudo permissions unless you're doing a `--user` install. – wflynny Apr 07 '16 at 19:21
  • 1
    What did you try to install? – Padraic Cunningham Apr 07 '16 at 19:21
  • @Sandy, add the exact syntax for one of the commands that failed with `Could not find a version that satisfies the requirement ...`, that usually means you used a package that simply does not exist – Padraic Cunningham Apr 07 '16 at 19:24
  • @PadraicCunningham Initially I was trying to install python future. When that failed, I installed this from their github page – Sandy Apr 07 '16 at 19:27
  • 1
    @BhargavRao After running the upgrade command, I get the message "Requirement already up-to-date" – Sandy Apr 07 '16 at 19:27
  • @PadraicCunningham Tried to install pip future by running `pip install future` resulting in "Could not find a version that satisfies the requirement (from versions:) No matching distribution found for future." – Sandy Apr 07 '16 at 19:29
  • @Sandy, is it the same for all packages? – Padraic Cunningham Apr 07 '16 at 19:33
  • @PadraicCunningham Other packages I've tried installing include wheel (which had issues when I installed via the get-pip.py script) and importlib – Sandy Apr 07 '16 at 19:34
  • @Sandy, just try `pip install https://github.com/PythonCharmers/python-future/archive/master.zip` – Padraic Cunningham Apr 07 '16 at 19:35
  • is it a corporate computer by any chance? – yoyoyoyo123 Apr 07 '16 at 19:37
  • @bvmcode yes, it's a corporate computer – Sandy Apr 07 '16 at 19:46
  • @PadraicCunningham Yes, ran that and got a number of exceptions. One possibly noteworthy error from running that command is this `pip._vendor.requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)` – Sandy Apr 07 '16 at 19:48
  • Ah ok, sounds like you have a ca-certificates issue. Run `python -mrequests.certs`, you may need to install Certifi https://pypi.python.org/pypi/certifi – Padraic Cunningham Apr 07 '16 at 20:04
  • Download https://pypi.python.org/packages/2.7/r/requests/requests-2.9.1-py2.py3-none-any.whl#md5=58a444aaa02780ad01983f5f540e67b2 and try installing with pip same with https://pypi.python.org/packages/2.7/c/certifi/certifi-2016.2.28-py2.py3-none-any.whl#md5=409448ee124f3159d912e4e155b034b0 – Padraic Cunningham Apr 07 '16 at 20:08

1 Answers1

2

I have the same issue with my corporate PC. I recommend just downloading the wheel or tar file for what you want to install

For example, installing BeautifulSoup Wheel file downloaded from https://pypi.python.org/pypi/beautifulsoup4. Save in python34 directory. Then CD to the python34 directory and then execute

python –m pip install beautifulsoup4-4.4.1-py3-none-any.whl

For a more permanent and sophisticated solution see the below link in regard to using CNTLM: Using pip behind a proxy

Community
  • 1
  • 1
yoyoyoyo123
  • 2,362
  • 2
  • 22
  • 36