我特林在泊塢窗容器使用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