-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems installing Spyder in WSL #13023
Comments
Unfortunately we don't support that platform, but we'll try to help you until we can.
If you don't have experience with neither Ubuntu nor programming, why do you want to use Spyder through the Windows Subsystem for LInux? That's not an easy task, so I think it'd be way easier for you to simply install Spyder for Windows and start from there.
There's no need to install pyqt5 with pip if you downloaded and correctly installed Anaconda for Windows Subsystem for LInux. If you did install pyqt5, you broke your Anaconda installation and you'll have to reinstall it again.
What Anaconda version did you download and for what operating system? |
I'm leaving this one for you @goanpeca after this point. Just wanted to give my feedback. |
@ccordoba12 Hi, thank you for your prompt reply! I have been using Spyders for Windows with little issues, but am required to program with Spyder on Ubuntu for WSL for project that I'm currently involved in. I had initially tried to Jupyter Notebook as an alternative, but faced some kernel issues there as well. Is there a way for me to use my Spyder on Windows for my programming in WSL? I downloaded Anaconda with Python 3.7 for Linux using the installer as shown in the image. |
I'm having the same problem. My reason for using Spyder in WSL is that some python packages that are important for my work don't seem to be available in Windows. I appreciate that it may not be straightforward to make it work, though. |
@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. |
@ccordoba12 I know, I was just writing to give you info on your user base to help you prioritise. |
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 |
Closing this one because it exists a solution for it. |
Unfortunately, the link is now dead. @PAGWatson do you have a copy available and would add it to the spyder documentation or wiki, so it stays accessible? |
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?
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
#1 0x7fedfeb686c2
#2 0x7fedfe614c18
#3 0x7fedff42654b
#4 0x7fedfebcd9e3
#5 0x7fedfeb71090
#6 0x7fedfeb726e8
#7 0x7fedfeb72a7b
#8 0x7fedfeb74132
#9 0x7fedfeb70438
#10 0x7fedfeb8ce9b
#11 0x7fedfe6870dc
#12 0x7fedfe6872de
#13 0x7fedfeba5678
#14 0x7fedfeba16db
#15 0x7fee186d8609 start_thread
#16 0x7fee185f2103 clone
Aborted (core dumped)
Versions
Dependencies
The text was updated successfully, but these errors were encountered: