Pygame installation for python 3.5

2019-07-22 20:16发布

I cannot repeat the instructions to install Pygame for some reason. Instructions are from this website: https://skellykiernan.wordpress.com/2015/01/04/python-pygame-install/

I downloaded the most recent binary:

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

I placed this .whl file into the Scripts folder and opened a command window there. Then, following the instructions from the blog above (rather than the instructions from my book, "Python Crash Course," which were next to useless), I typed in the following:

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

What I get back is:

pygame-1.9.2a0-cp35-none-win32.whl is not a supported wheel on this platform.

What am I doing wrong, or is there another, better way to install Pygame for Python 3.5?

1条回答
你好瞎i
2楼-- · 2019-07-22 20:46

I think you are using 64 bit python version. The pygame you are trying to install is for 32 bit version of python. You should try downloading the 64 bits version pygame-1.9.2a0-cp35-none-win_amd64.whl

查看更多
登录 后发表回答