-
-
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
Spyder crashes before opening #6111
Comments
Please open a terminal (cmd.exe) then run
and paste here the error messages you get there. |
Thanks for your report, and we appreciate you trying those troubleshooting solutions on your own. Have you tried launching it from the start menu shortcut? Did you do a clean reinstall of the full, latest Anaconda distribution, or just Spyder? Do other Anaconda applications (jupyter, etc.) run just fine? Have you installed any spyder plugins? If none of that fixes it, you should try what is suggested in the comments to Issue #6023 , and let us know what it reports. Also, you can try running with the debug flag on; type Finally, you'll also want to provide us with some more information about your environment: from your |
The following message is displayed when I run
And then after some time, the cursor changes to a rotating circle and "Python is not responding message" pops up.
It stays like this for at least 20 mins, and then my cursor changes to a rotating circle, and the "Python packages in environment at C:\Users\pc\Anaconda3:
|
Thanks so much for your quick and detailed response. That is really strange indeed, well beyond my immediate pay grade to solve. It seems something in the Spyder startup procedure between the Loading Editor debug message and loading the Also, note that |
Ok, I checked the other applications of Anaconda. All of them seem to work fine, except Spyder. IPython also works normally, and there was no problem loading modules from the Anaconda prompt. |
Thanks again for following up, and really sorry you're still having issues. I'm honestly baffled at this one, and I'm almost out of the standard toolbox of troubleshooting fixes, and there appears to be no particular indication what's going on. A few other things to try, just in case: Try running Spyder as admin (through the shortcut or an elevated anaconda prompt); make sure you have no Spyder plugins installed, no spaces, special/non-ASCII characters, or funky permissions on your user/home and Anaconda directory path, try installing just Spyder into a new, fresh Python 3 Anaconda environment and starting it from the command line and Anaconda Navigator with that environment activated, and if you've installed for just you, try installing for all users or vice versa, and make sure Anaconda is installed to the default location for that. Also, any significant system configuration changes between when it worked and when it didn't? With regard to narrowing down what's actually going on—to confirm, you tried the advanced startup troubleshooting procedure discussed in the comments to issue #6023 that I brought up previously, running |
Ok I'll try the different methods. |
That debug print is actually in plugins/introspection/manager.py, I believe, in the |
Ok the problem got solved when I re-installed Anaconda, this time for "All Users". Couldn't figure out why the problem was occuring before, but now Spyder seems to work fine. Thanks a lot for your help! |
Thanks! Sorry this was such an issue, and glad you got it working. Best of luck going forward! |
Spyder3 is not launching in my window 10, not from command prompt not from spyder3.exe |
@NafriaVijay Did you follow the advice in this thread, in #6023 (that issue sounds way more similar to yours than this one), and the steps listed in the Spyder Troubleshooting Guide, specifically the Basic First Aid and Emergency CPR sections, which resolve the great majority of Spyder installation issues? Its almost certainly a user install issue, probably with |
Well as of now I am using Spyder for more then 2 year. It never gave me any trouble till today and it was working 2-3 days ago when I last used it... but no idea why it suddenly stopped working. I have installed Spyder and other python packages many times before never had any problem. Now after failing to launch from desktop shortcut I tried from command prompt as admin, the mouse arrow cursor show a circle and then nothing happened thereafter. Never seen such issue. I don't use anaconda since I use python for multiple purpose and use different IDEs for different needs so I don't want to install all the packages separately for anaconda. |
Okay so I was reading in various blog posts that it has something to do with PYQT5 so I uninstalled it and any installed package from riverbank and also uninstalled Spyder. Then I reinstalled spyder3 and now its launching and running okay. |
Glad you got it fixed! |
i have tried all the things mentioned here but still spyder is not opening.. does any have the solution ????plzzz share |
Hi jayrawatrj this problem came back again... it has to do something with QT5 and QT4. It happens anytime I have to update my python packages, no pun intended. You can solve it by uninstalling spyder and all the python packages from riverbank computing and reinstalling all of them but I am tired of doing this all the time. I switched to VSCode, I know we all are addicted of spyder but can't stop what we were doing and keep on fixing it all the time. Sorry guys at Spyder. |
on the second thought..... couldn't help it ... spyder is so pleasing to eyes |
@NafriaVijay Sorry to hear you're still having issues. Basically, the problem seems to be that Spyder is installed in the environment as other packages that depend on Qt4 or other versions of Qt5, which is a recipe for problems no matter what you're trying to do, as is using Now that Spyder 3.3.0's out (and Spyder 3.3.1, due out very soon, will improve it further), we have a much easier and better way to handle this situation: just install Spyder in its own environment, and then install just the conda create -n spyder-env python=3.6
activate spyder-env
conda install spyder
activate <your-main-env-here>
conda install spyder-kernels=0.* and then you should be good to go, presuming you launch spyder from the If you'd like more detail about all this, I created a new guide to managing packages and environments with Spyder. |
Thanks a lot for clearing it out man, keep up the good work ... however I don't use Anaconda environment, ... I use spyder as it is like any other IDEs. I recently installed some packages and they in turn upgraded some other and Voila my spyder stopped working.... Just now I upgraded my spyder but it didn't work... So finally I tried the ol' faithful method of upgrading pyqt5 and now its working back again ... Just love to share the experience |
Glad I could help! You actually don't need Anaconda to use environments or |
I need help, whey i tried to launch Spyder 3.3.3 show an error:
Help please!!! |
@Abeltzin This is totally unrelated to the issue reported here; if you'd read the original report above, there is nothing that even remotely resembles anything in the above traceback; in fact, no error traceback at all occurs with any of the issues discussed on this thread. Something's probably wrong with your environment, or perhaps its something macOS-specific. Try |
Sorry for wrong thread @CAM-Gerlach, it worked correctly now. |
What steps will reproduce the problem?**
What is the expected output? What do you see instead?**
Expected Spyder to open but it crashes instead.
Please provide any additional information below**
I have tried re-installing many times, but nothing changes. Also tried to create a new python3.5 env and open Spyder there, but it did not launch. Changing firewall settings have also not helped. It did not launch when I tried to open using the command prompt either.
spyder --reset has not helped.
Versions and main components
Spyder Version: 3.2.5
Python Version: 3.6.3
Qt Versions: 5.6.2,
PyQt5 5.6.0
Operating system: Windows 10
Any help will be greatly appreciated.
The text was updated successfully, but these errors were encountered: