0

I have installed the whl file for pygame 1.9.2 for python 3.5 32 bit and have put it in "C:\Python35\Scripts". When i open a command window in the scripts folder and type

pip3 install pygame-1.9.2a0-cp35-none-win32.whl 

it says

Fatal error in launcher: Unable to create process using '"'

I am following the instructions from here, I have heard it works for python 3.5. I have been trying to figure this out for ages, can anyone help me on what to do next?

MattDMo
  • 100,794
  • 21
  • 241
  • 231
0swald
  • 23
  • 1
  • 1
  • 5

2 Answers2

8

Here are instructions for users with the newer Python 3.5:

I just successfully installed Pygame 1.9.2a0-cp35 on Windows and it runs with Python 3.5.1.

  • Install Python, and remember the install location
  • Go here and download pygame-1.9.2a0-cp35-none-win32.whl
  • Move the downloaded .whl file to your python35/Scripts directory
  • Open a command prompt in the Scripts directory (Shift-Right click in the directory > Open a command window here)
  • Enter the command:

    pip3 install pygame-1.9.2a0-cp35-none-win32.whl

  • If you get an error in the last step, try:

    python -m pip install pygame-1.9.2a0-cp35-none-win32.whl

And that should do it. Tested as working on Windows 10 64bit.

charlie
  • 856
  • 1
  • 11
  • 17
  • For future users, I was getting an error trying this method saying "XXXX.whl is not a support wheel on this platform." The fix for me was just going to the \Scripts directory in the command prompt and then simply running "pip install pygame." It only worked in the \Scripts directory, but it worked! – Tyler Jones Aug 11 '17 at 19:46
1

Try to run

python -m pip install pygame-1.9.2a0-cp35-none-win32.whl

This should be a workaround the "space problem" of pip on windows.

Hope this helps :)

Community
  • 1
  • 1
elegent
  • 3,857
  • 3
  • 23
  • 36
  • when i run it it says python is not recognised as an internal or external command, operable program or batch file. – 0swald Nov 23 '15 at 15:31
  • @0swald: See [this](http://stackoverflow.com/a/4621277/4594443) answer for details about "How do I run a python program in the Command Prompt". – elegent Nov 23 '15 at 15:36