1

I am running python3 on windows, and have 2 python3 versions installed (3.4 and 3.5). This is necessary from some reasons. Python 3.4 seems to be the default one and is located in c:/python34/... while 3.5 is located in c:/Users/u/AppData/...

When trying to do:

pip install C:\Users\YOANN\Downloads\numpy-1.12.0+mkl-cp35-cp35m-win_amd64.whl

or

pip3 install C:\Users\YOANN\Downloads\numpy-1.12.0+mkl-cp35-cp35m-win_amd64.whl

I receive the error:

numpy-1.12.0+mkl-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

I'm pretty sure it's because it is trying to install it on the 3.4 version instead of 3.5 hence the version mismatch, but I can't find a workaround...

Any idea?

ylnor
  • 4,531
  • 2
  • 22
  • 39

1 Answers1

1

Just run it with the full path to pip and it should work.

c:\Users\u\AppData\Local\Programs\Python\Python35-64\Scripts\pip.exe install C:\Users\YOANN\Downloads\numpy-1.12.0+mkl-cp35-cp35m-win_amd64.whl 

Check the first part, the c:\Users\u should be where you have installed your python3.5

I'm not sure what you are trying to do, but Virtual Environments may be your best friend.

Aquiles Carattino
  • 910
  • 1
  • 10
  • 23
  • That did the trick. Also using pip3.5 was a solution. thanks! – ylnor Feb 17 '17 at 09:30
  • 1
    You can also use `py.exe` instead of `python.exe`. Supply the desired Python version to `py.exe`. Example: `py.exe -3.5 -m pip install numpy-1.12.0+mkl-cp35-cp35m-win_amd64.whl`. – florisla Oct 30 '19 at 14:39