我正在使用MacOS10.9试图使python脚本工作。但是,由于某种原因,每次我从终端启动脚本时,都会导致XQuartz启动。Python的版本是2.7.5。每当我退出XQuartz时,我都会在控制台中得到以下消息:
XIO: fatal IO error 35 (Resource temporarily unavailable) on X server "/tmp/launch-mumXCj/org.macosforge.xquartz:0"
after 24 requests (23 known processed) with 0 events remaining.我不太清楚为什么。当我在WingIDE中运行我的脚本(一个非常简单的web服务器)时,它工作得很完美,但不是从终端运行的。
这个gist包含我的代码:要旨
发布于 2014-03-18 01:55:59
所以很明显,她肯定是第一条线。在此之前不可能有任何引起问题的评论。之后,随着评论的移动,它工作得很好。
https://stackoverflow.com/questions/22468805
复制相似问题