Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pygame
>>>
在新版的python上,我不能找到pygame。我可以使用其他模块(如pyo、wx、numpy),但是重新安装pygame并在相应的库文件夹中查找,却无法找到pygame模块。重新安装也无济于事,请问有什么建议吗?
编辑:回答有关如何安装pygame的问题,我是从这里的.dmg文件安装的:http://www.pygame.org/download.shtml 'pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3.dmg '