-
-
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
crashes on start via RDP [solution!] #3736
Comments
Looks like this is similar to #3332 |
THIS FIXES THE PROBLEM:
I can now load spyder in windows 10 through remote desktop using a generic python installation after pip installing pyqt5 and spyder. |
I guess it's still not "resolved" until the developers allow this to happen automatically upon install... |
This is a problem with the PyQt5 wheels, not our problem because we really can't do anything about it. As you said, you have to install |
UPDATE - SOLVED
Then restart the computer.Original comment: Not sure if this should be opened as a separate issue, but when I remote log-in and try to launch Spyder, I get the message "LoadLibrary failed with error 126: The module could not be found”. I tried @swharden's steps of downloading opengl32sw.dll and placing it in ~\Lib\site-packages\PyQt5\Qt\bin, but in my PyQt5 folder I do not see the "Qt" subfolder. I tried placing the DLL directly in the PyQt5 folder, but that did not fix the issue. FYI, I'm using Spyder 4.1.1 and I do not experience this error when I launch Spyder locally (i.e., not through a remote connection). A link to my issue on StackOverflow has more information. |
Since I was unable to get pass LoadLibrary 126 error using the solutions provided online and on here, I stepped back and realized the obvious workaround. The errors occurs when you open the program while you're using a remote session, right? The obvious solution is to launch the program while a remote session is not in progress. To do this while you're remoting, you should create a batch script to launch the program but make sure to include a time delay before that (I used 'timeout 10 /nobreak' to do so). Run the batch script and, before your program launchs, disconnect from RDP. After enough time passes for the program to launch, you can reconnect to RDP and your program will be up and ready. |
Description of your problem
What steps will reproduce the problem?
pip install pyqt5 spyder
What is the expected output? What do you see instead?
Versions and main components
The text was updated successfully, but these errors were encountered: