【发布时间】:2019-12-18 19:41:35
【问题描述】:
我正在尝试从 WSL (Debian) 上的 github 存储库运行 Mario Kart 克隆,但我的 WSL 不包括 X11。所以,我想知道是否可以从 Jupyter 实验室启动它。当我尝试启动它时,我收到一个错误:
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM default
Traceback (most recent call last):
File "MarioKart.pyw", line 14, in <module>
screen = pygame.display.set_mode(MENU_DIMENSIONS)
pygame.error: No available video device
【问题讨论】:
标签: pygame windows-subsystem-for-linux jupyter-lab