我正在嘗試爲IDLE安裝IdleX擴展。我是否運行從命令行python idlex.py
或Python中啓動安裝程序,我得到了同樣的錯誤:安裝IDLE擴展時出錯IdleX-1.11.1
$ 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上運行了Python 2.6包的Mac 10.7.5