1.https://www.lfd.uci.edu/~gohlke/pythonlibs/这个链接中找到pygame,然后对照python的版本和系统查找;
2.将文件下载后放在项目目录文件,在cmd中运行pip install pygame-1.9.4-cp27-cp27m-win32.whl命令,看到以下界面为成功:
3.或者在File中的settings中设置tian添加pygame
1.https://www.lfd.uci.edu/~gohlke/pythonlibs/这个链接中找到pygame,然后对照python的版本和系统查找;
2.将文件下载后放在项目目录文件,在cmd中运行pip install pygame-1.9.4-cp27-cp27m-win32.whl命令,看到以下界面为成功:
3.或者在File中的settings中设置tian添加pygame