电脑上装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

发布了16 篇原创文章 · 获赞 13 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/wq12310613/article/details/82997909