.whl is not a valid wheel filename, storing debug log for failure in C:\

Hamsa Ilmi picture Hamsa Ilmi · Oct 19, 2015 · Viewed 29.8k times · Source

I am having trouble installing a wheel file via pip.

  1. I open my command prompt
  2. write the following in the prompt

    C:/Python34/Scripts/pip install C:/Users/Hamsa/Downloads/pygame.whl

  3. Then I get this message

    pygame.whl is not a valid wheel filename. Storing debug log for failure in C:\Users\Hamsa\pip\pip.log

I don't what to do and I need your help.

Answer

Harun ERGUL picture Harun ERGUL · Jan 24, 2017

You should correct name format for installing wheel file. Because wheel file name also includes many information such as the version of program, supported python version. Your command should be like the command below.

pip install pygame‑1.9.3‑cp34‑cp34m‑win_amd64.whl