带有 python 3.6 的 Pygame 版本 [英] Pygame version with python 3.6

查看:26
本文介绍了带有 python 3.6 的 Pygame 版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 Windows 上有 python 3.6,我应该下载哪个 pygame?我已经尝试了多次下载,但都不起作用.请帮忙!

I have python 3.6 on my windows, which pygame should I download? I have tried multiple downloads and they do not work. Please help!

推荐答案

在 Windows 上安装 Pygame 的最佳方式是在命令行中输入:

The best way to install Pygame on Windows is to enter this in the command line:

py -3.6 -m pip install pygame

这将专门为 3.6 版安装 Pygame(以防万一您的 PATH 变量中有其他 Python 版本).

This will install Pygame specifically for version 3.6 (just in case you have other Python versions that come first in your PATH variable).

这篇关于带有 python 3.6 的 Pygame 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆