Problems installing Spyder in WSL
See original GitHub issueProblem Description
I’ve been trying to launch Spyder from Ubuntu 20.04 LTS (Windows Subsystem for LInux) but it always get aborted almost immediately. I’m quite new to Ubuntu/programming in general, and would appreciate some help/advice on this, thank you!
sidenote: I also have this error message when I try to install pyqt5, but I’m not sure if this is related to the above problem.
ERROR: spyder 4.0.1 requires pyqtwebengine<5.13; python_version >= “3”, which is not installed. ERROR: spyder 4.0.1 has requirement pyqt5<5.13; python_version >= “3”, but you’ll have pyqt5 5.15.0 which is incompatible. Installing collected packages: PyQt5-sip, PyQt5 ERROR: Could not install packages due to an EnvironmentError: [Errno 1] Operation not permitted
What steps reproduce the problem?
- downloaded anaconda
- downloaded xcvsrv
- launched spyder
What is the expected output? What do you see instead?
Spyder is supposed to launch, but instead I get the following error message:
Paste Traceback/Error Below (if applicable)
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-apeiyin’ [8654:8672:0615/011408.058943:FATAL:udev_linux.cc(29)] Check failed: 0 == ret (0 vs. -22) #0 0x7fedfeb560be <unknown> #1 0x7fedfeb686c2 <unknown> #2 0x7fedfe614c18 <unknown> #3 0x7fedff42654b <unknown> #4 0x7fedfebcd9e3 <unknown> #5 0x7fedfeb71090 <unknown> #6 0x7fedfeb726e8 <unknown> #7 0x7fedfeb72a7b <unknown> #8 0x7fedfeb74132 <unknown> #9 0x7fedfeb70438 <unknown> #10 0x7fedfeb8ce9b <unknown> #11 0x7fedfe6870dc <unknown> #12 0x7fedfe6872de <unknown> #13 0x7fedfeba5678 <unknown> #14 0x7fedfeba16db <unknown> #15 0x7fee186d8609 start_thread #16 0x7fee185f2103 clone
Aborted (core dumped)
PASTE TRACEBACK HERE
Versions
- Spyder version: 4.0.1
- Python version: 3.7.6
- Qt version: qmake version 3.1
- PyQt version:
- Operating System name/version: Windows 10 (but using Ubuntu 20.04 LTS for WSL)
Dependencies
PASTE DEPENDENCIES HERE
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
@PAGWatson, our team is very small and we don’t have time to support yet another platform. If this is critical for you, please consider to tell your company to fund that work through a Quansight Labs Community Work Order. That’s basically a contract between a company and Spyder (mediated by Quansight Labs) to fund specific features or developments in the project.
I found today that after upgrading to WSL 2, with Ubuntu 20.04 installed, spyder now loads (it having been installed with Anaconda previously). See here for steps to install WSL 2, if you have a compatible computer: https://scotch.io/bar-talk/trying-the-new-wsl-2-its-fast-windows-subsystem-for-linux#toc-installing-wsl