spyder: spyder is not launching even after doing complete uninstall and reinstall of anaconda (python 3.9)
Issue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder(orpip, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset - Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Spyder was working perfectly fine 1 hour ago,then all of a sudden it refused to launch,When I opened cmd and typed spyder I recieved pySide2 error as well as some pyQt binding.I didn’t even do anything .I just closed spyder normally,and then tried reopening it.
What steps reproduce the problem?
Platform Windows
- From anaconda folder click spyder icon to launch spyder
- Spyder refuses to launch
- go to cmd type spyder
- Tried uninstalling and installing anaconda again
What is the expected output? What do you see instead?
Spyder window should launch.But even after reinstalling anaconda latest ,and resetting spyder settings the window doesn’t launch
Paste Traceback/Error Below (if applicable)
Traceback (most recent call last):
File "C:\Users\spars\anaconda3\lib\site-packages\qtpy\__init__.py", line 209, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\spars\anaconda3\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "C:\Users\spars\anaconda3\lib\site-packages\spyder\app\start.py", line 233, in main
from spyder.app import mainwindow
File "C:\Users\spars\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 42, in <module>
requirements.check_qt()
File "C:\Users\spars\anaconda3\lib\site-packages\spyder\requirements.py", line 44, in check_qt
import qtpy
File "C:\Users\spars\anaconda3\lib\site-packages\qtpy\__init__.py", line 215, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
Versions
- Spyder version: 5.1.5
- Python version: 3.9
- Qt version: 5.9.7
- PyQt version: 5.9.2
- Operating System name/version: Windows 10
Dependencies
PASTE DEPENDENCIES HERE
spyder isn't opening so can't paste them
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (7 by maintainers)
@ccordoba12 Thank you for your comment. It helped me to solve the problem quickly. However, please note that there are some typos. I believe it should be:
@sparshgarg23, please run these commands instead
That should fix your problem.
As I told you above, please see our video to learn how to that properly. It contains additional instructions to do a successful reinstallation.