解决 Pygame 中的 "DLL load failed: %1 is not a valid Win32 application." 问题

10 浏览
0 Comments

解决 Pygame 中的 "DLL load failed: %1 is not a valid Win32 application." 问题

我安装了Python 3.1和Python 3.1的Pygame模块。当我在控制台中输入import python时,出现以下错误:

Traceback (most recent call last):
  File "", line 1, in 
    import pygame
  File "C:\Python31\lib\site-packages\pygame\__init__.py", line 95, in 
    from pygame.base import *
ImportError: DLL load failed: %1 is not a valid Win32 application.

0