Pygame installation for python 3.5

試著忘記壹切 提交于 2019-12-11 13:06:44

问题


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



来源:https://stackoverflow.com/questions/36562933/pygame-installation-for-python-3-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!