在泊坞窗容器“(pygame的降落伞)段错误”
问题描述:
我特林在泊坞窗容器使用pygame的(我希望得到从容器中显示),当出现以下错误:在泊坞窗容器“(pygame的降落伞)段错误”
Fatal Python error: (pygame parachute) Segmentation Fault
重现:
- 泊坞安装
- 搬运工运行 - 它-e DISPLAY -w/pygame_hello_world buxx/pygame_hello_world /usr/bin/python3.4 hello_world.py
结果是:
Fatal Python error: (pygame parachute) Segmentation Fault
Current thread 0x00007f465f894740 (most recent call first):
File "hello_world.py", line 7 in <module>
码头工人形象here可以查看hello_world.py内容here。
如果你运行docker run -it -w /pygame_hello_world buxx/pygame_hello_world /usr/bin/python3.4 hello_world.py
命令(没有-e DISPLAY
选项),你可以看到pygame工作显示caca。
会发生什么?如何解决它?
你并不孤单,我也得到'致命的Python错误:(pygame的降落伞)分段错误 当前线程0x00007f47c673c740(最近一次调用第一)您的图像,我的码头版本1.9.0-rc2 – user2915097