小编asm*_*mgx的帖子

无法在 Ubuntu 上运行 Spyder (windows bash)

我对 Linux 很陌生,我正在使用 Windows 11

从 MS 商店安装了 ubuntu bash 并使用此命令安装了 Spyder

sudo apt-get install spyder
Run Code Online (Sandbox Code Playgroud)

但是当我打电话给Spyder时

我收到这个错误

user1@DELLG3:~$ spyder
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted
Run Code Online (Sandbox Code Playgroud)

我尝试卸载并重新安装 Spyder

但同样的错误

知道如何解决这个问题吗?

windows bash qt spyder windows-subsystem-for-linux

2
推荐指数
1
解决办法
3383
查看次数

标签 统计

bash ×1

qt ×1

spyder ×1

windows ×1

windows-subsystem-for-linux ×1