I am very new to Linux and
I am using Windows 11
installed ubuntu bash from MS store and installed Spyder using this command
sudo apt-get install spyder
But when I call Spyder
I get this error
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
I tried to uninstall and reinstall Spyder
but same error
any idea how to fix this?