spyder: Can't launch Spyder on Windows 10
Description of your problem
What steps will reproduce the problem?
I typically open Spyder via the Start Menu, but now, when I try to click on the Spyder icon in the Start Menu, I get no response. I then tried to go directly to the spyder.exe file in the Scripts folder in the directory where Anaconda is installed but I got no response.
Please provide any additional information below
Versions and main components
- Spyder Version: 3.2.4
- Python Version: 3.6.2
- Qt Version: 5.6.2
- PyQt Version: 5.6.0
- Operating system: Windows 10
Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 22 (5 by maintainers)
spyder --reset solves the problem
The above, after reinstalling pyqt (quoted below) solves the problem for me.
This works for me: In windows 10 (run this in conda prompt, might need to run as admin)
conda install --force-reinstall pyqt qt
see here: spyder-ide/spyder#6934
I had the following error message, when trying to launch Spyder from my conda environment (in other words the environment was already activated and running)
This Python interpreter is in a conda environment, but the environment hasnot been activated. Libraries may fail to load. To activate this environmentplease see https://conda.io/activation
The above Spyder --reset did the trick for me (I have also used ‘update qt’ though before that as suggested on one of the stackoverflow answers… just before that, so maybe try both)
I have Windows 7 and Spyder wont even launch for the first time immediately after installing the most recent version of Anaconda. Next I tried installing Winpython64-3.8.6.0 in order to launch spyder from there. No luck there too.
I too have the same issue. It is stuck at the “loading editor…” phase. Nor could I launch jupyter notebook. When I run jupyter.exe or jupter-troubleshoot.exe, a window opens and closes in a fraction of second. I had this problem a month ago. So I switched to Ubuntu. It seems its working fine in Linux.