简体   繁体   中英

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?

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM