导入 simplegui 时遇到问题

sha*_*hin 3 python python-2.7 codeskulptor

我在 Eclipse 中安装了 PyDev 来运行 Python 程序,但我\xe2\x80\x99m 在导入simplegui. 它向我展示了这个错误:

\n\n
\n
import simplegui\n
Run Code Online (Sandbox Code Playgroud)\n\n

ImportError: 没有命名的模块simplegui

\n
\n\n

我安装的PyDev版本是2.7.1。

\n

Rav*_*eep 5

您可以使用SimpleGUICS2Pygame。 只需在 CodeSkulptor 程序中将import simplegui更改 为 import SimpleGUICS2Pygame.simpleguics2pygame as simplegui并在标准 Python 中运行它