我正在尝试为 IDLE 安装IdleX扩展。无论我是从命令行python idlex.py
还是从 Python Launcher 运行安装程序,我都会收到相同的错误:
$ cd '/Volumes/Pig/Users/arrow/Downloads/idlex-1.11.1/' &&
'/usr/local/bin/pythonw'
'/Volumes/Pig/Users/arrow/Downloads/idlex-1.11.1/idlex.py' &&
echo Exit status: $? && exit 1
Oct 15 20:00:29 Niflheimr.local Python[45309] <Error>:
kCGErrorInvalidConnection: CGSGetWindowTags: Invalid connection
Oct 15 20:00:29 Niflheimr.local Python[45309] <Error>:
kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint()
to catch errors as they are logged.
我在 Mac OS 10.7.5 上运行适用于 Mac 的 Python 2.6 包