我已经安装miniconda
并创建了一个名为dataScience
的虚拟环境,并安装了spyder
才能在WSL上运行所需的所有文件。
我使用了以下命令:
1。)安装Spyder:
conda install matplotlib spyder scipy
2。)和其他依赖项:
sudo apt-get install libxcursor-dev
sudo apt-get install alsa
sudo apt install libegl1-mesa libegl1
3。)并通过下载VcXsrv
4。)之后,在./bashrc
中添加了以下脚本:
DISPLAY=:0
export DISPLAY
export XDG_RUNTIME_DIR="/mnt/d/codes/py38/dataScience"
LIBGL_ALWAYS_INDIRECT=1
Export LIBGL_ALWAYS_INDIRECT
5。)做了source ~/.bashrc
并在WSL ubuntu-20.04 LTS终端上,我运行了命令spyder
(在Windows10上启动X server
之后),并出现以下错误:< / p>
问题:
[6876:6820:1011/001550.176657:FATAL:dev_linux.cc(29)] Check failed: 0 == ret (0 vs. -22)
#0 0x7f0a83sd60be <unknown>
#1 0x7f0a837y86c2 <unknown>
#2 0x7f0a878j4c18 <unknown>
#3 0x7f0a847ekljb <unknown>
#4 0x7f0a83f8d9e3 <unknown>
#5 0x7f0a83f31090 <unknown>
#6 0x7f0a83f326e8 <unknown>
#7 0x7f0a83f32a7b <unknown>
#8 0x7f0a83f34782 <unknown>
#9 0x7f0a83f30438 <unknown>
#10 0x7f0a83f4kj9b <unknown>
#11 0x7f0a83a470dc <unknown>
#12 0x7f0a83a4lode <unknown>
#13 0x7f0a83f65678 <unknown>
#14 0x7f0a83f6pqab <unknown>
#15 0x7f0a9db66cx9 start_thread
#16 0x7f0a9da82093 clone
[6876:6566:0100/000000.379311:ERROR:broker_posix.cc(41)] Invalid node channel message
Aborted (core dumped)
该领域的新手现在抓着我的头。 如果有人有解决方案,请回答。谢谢!