我有时会遇到此错误:
Fatal Python error: (pygame parachute) Segmentation Fault
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
有时当一个运行程序时我收到这个错误,但我在使用pygame之前收到这个错误,并且尝试,除了没有捕获任何东西。 我正在用这种配置制作一个程序。 我不知道还能做什么,请帮忙。
Windows 10 64bits
python 2.7 64bits
pygame. __version__: '1.9.3'
Tkinter.__version__: '$Revision: 81008 $'
ttk.__version__: '0.3.1'
pickle.__version__: '$Revision: 72223 $'
pyserial.__version__: '2.7'
我使用该方法解决了这个问题。
Tkinter.after()
看起来我有一个竞争条件来大大改变屏幕。我测试了 2 小时,没有错误。