【发布时间】:2012-09-29 05:49:18
【问题描述】:
我有一个非常基本的问题,pygame 在 Windows 7 中没有被识别。我安装了 ActiveState Python 2.7 和 pygame-1.9.2a0.win32-py2.7.msi。然而,一个简单的导入 pygame 的 hello world 程序给出了
Traceback (most recent call last):
File "foo.py", line 1, in <module>
import pygame
ImportError: No module named pygame
谁能帮我解决这个问题?如果需要的话,我不太熟悉编辑 PATH,谢谢。
编辑:是不是因为 ActiveState 是 64 位的,而我使用的是 32 位版本的 pygame?
【问题讨论】: