0swald
0swald

Reputation: 23

trouble installing pygame on python 3.5

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?

Upvotes: 0

Views: 10329

Answers (2)

charlie
charlie

Reputation: 856

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.

Upvotes: 8

elegent
elegent

Reputation: 4007

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 :)

Upvotes: 1

Related Questions