[英]Python ImportError: DLL load failed: The specified module could not be found
I recently downloaded and installed pygame. 我最近下载并安装了pygame。 I tested it with the following code.
我用以下代码对其进行了测试。
import pygame
I received the following error: 我收到以下错误:
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.
I currently have Python 3.4 32 bit and have downloaded pygame-1.9.2a0.win32-py3.2 and installed it. 我目前有32位Python 3.4,并下载了pygame-1.9.2a0.win32-py3.2并安装了它。 I tried uninstalling and reinstalling multiple times.
我尝试多次卸载并重新安装。 What am I doing wrong?
我究竟做错了什么?
Pygame doesn't work for Python 3.4. Pygame不适用于Python 3.4。 The pygame that you downloaded is for Python 3.2.
您下载的pygame适用于Python 3.2。 If you download Python 3.2, you should be able to use pygame.
如果您下载Python 3.2,则应该可以使用pygame。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.