Python 3.3 的 Pygame 安装

2024-01-09

我正在尝试导入Pygame https://en.wikipedia.org/wiki/Pygame用于我的版本Python http://en.wikipedia.org/wiki/Python_%28programming_language%29,3.3。 Pygame网站上下载的只有Python 3.1和3.2。尽管我认为我已将 Pygame 安装在正确的路径中,但我似乎无法导入 Pygame。我已经尝试过 3.1 和 3.2 Pygame 下载。

Pygame 是否未安装在正确的文件路径中,或者 Pygame 与我的 Python 版本(3.3)不兼容?

我运行的是 Windows 7,错误如下:

Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
import pygame
File ".\pygame\__init__.py", line 95, in <module>
from pygame.base import *
ImportError: DLL load failed: The specified module could not be found.

Pygame 主页似乎很少更新。您可以直接从以下位置下载 Pygame 版本位桶 http://en.wikipedia.org/wiki/Bitbucket at https://bitbucket.org/pygame/pygame/downloads https://bitbucket.org/pygame/pygame/downloads.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Python 3.3 的 Pygame 安装 的相关文章

随机推荐