question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems installing Spyder in WSL

See original GitHub issue

Problem 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?

  1. downloaded anaconda
  2. downloaded xcvsrv
  3. 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:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ccordoba12commented, Jul 6, 2020

@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.

1reaction
PAGWatsoncommented, Jul 6, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting Up a Spyder Environment with WSL - Medium
1. From search, type “features” and open “Turn Windows Features On or Off” · 2. From the list, tick on “Windows Subsystem for...
Read more >
Frequently Asked Questions — Spyder 5 documentation
If you already installed Spyder on your Windows machine, you do not need to reinstall it on a WSL2-based Linux environment if your...
Read more >
Cannot start the spyder on miniconda on WSL UBUNTU-20.04
To get Ubuntu 18.04 LTS, make sure WSL is enabled on your windows machine and then download Ubuntu 18.04 LTS from the Microsoft...
Read more >
Cannot run Spyder on Ubuntu (windows bash)
I just tried this out on one of my "temporary" WSL2 Ubuntu instances, and I was able to get Spyder to run successfully...
Read more >
WSL + Spyder IDE : r/bashonubuntuonwindows - Reddit
install vscode on windows · install remote-wsl plugin in vscode · install miniconda in wsl · open vscode in windows and connect to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found