当前位置:首页 > 操作系统 > MacOs

python – 使用不推荐使用的函数CGSFlushWindow的Mac OS Pygame

我在OS Mountain Lion下以32位模式运行Python 2.7.3,我刚刚开始使用Pygame.我一直在终端窗口中收到以下错误消息:

<code>2012-12-31 10:58:03.695 Python[12097:f07] Warning once: This application, or a library it
uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of 
QuickDraw and move to Quartz.

Dec 31 10:58:03 bigden.local Python[12097] <Error>: The function `CGSFlushWindow' is 
obsolete and will be removed in an upcoming update. Unfortunately, this application, or a 
library it uses, is using this obsolete function, and is thereby contributing to an 
overall degradation of system performance. Please use `CGSFlushWindowContentRegion' 
instead.
</code>

有什么办法可以避免这个吗是否有Pygame修复程序?

解决方法:

尝试安装版本1.9.2pre.我不再收到这些错误.


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐