Python ImportError: DLL load failed: The specified module could not be found

Python ImportError: DLL load failed: The specified module could not be found

我最近下载并安装了 pygame。我用下面的代码测试了它。

import pygame

我收到以下错误:

C:\Python34>python test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
    import pygame
File "C:\Python34\lib\site-packages\pygame\__init__.py", line 95, in     <module>
    from pygame.base import *
ImportError: DLL load failed: The specified module could not be found.

我目前有 Python 3.4 32 位并已下载 pygame-1.9.2a0.win32-py3.2 并安装。我尝试卸载并重新安装多次。我做错了什么?

Pygame 不适用于 Python 3.4。您下载的 pygame 适用于 Python 3.2。如果你下载 Python 3.2,你应该可以使用 pygame.