繁体   English   中英

为python 3.x安装pygame,遇到困难

[英]Installing pygame for python 3.x, getting difficulties

我刚刚安装了最新版本的python,3.4.3 32位和相应的pygame。 导入pygame时出现此错误

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

请帮助修复错误

尝试卸载Python 3.4并安装Python 3.2,然后重新安装3.2版本的pygame。 当我在pygame网站上查看时,我看不到python 3.4版本的pygame,除非你特别需要3.4 pygame for Python 3.2的功能应该可以正常工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM