Spyder failed to start because no Qt platform plugin could be initialized.
See original GitHub issueIssue 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
Anaconda Navigator and Spyder fail to start. I’ve uninstalled and reinstalled as well as updating conda and all associated plugins but still encounter the issue.
What steps reproduce the problem?
- Download Anaconda
- Open Anaconda Navigator
What is the expected output? What do you see instead?
The program should start
Paste Traceback/Error Below (if applicable)
qt.qpa.plugin: Could not load the Qt platform plugin "windows" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: direct2d, minimal, offscreen, windows.
Versions
- Spyder version: 4.1.4
- Python version: 3.8.5
- Qt version: 5.9.7
- PyQt version: 5.9.2
- Operating System name/version: Windows 10
Dependencies
PASTE DEPENDENCIES HERE
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
pyqt5: This application failed to start because no Qt platform ...
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Read more >How To Fix No Qt Platform Plugin Could Be Initialized Error
In This Video We Will See How To Fix No Qt Platform Plugin Could Be Initialized Error or This Application Failed To StartHere...
Read more >Application No Qt Platform Plugin Could Be Initialized? [Fixed]
Fix 1. Replace the Qt Files in the Destination · Fix 2. Perform a Clean Boot · Fix 3. Check System File Corruption...
Read more >How to fix "Application failed to start because no Qt platform ...
Method 3. Try Clean Boot · Type msconfig in Windows search, hit Enter · Go to Services tab · Check the Hide all...
Read more >spyder-ide/public - Gitter
Pythonw: "This application failed to start because it could not find or load the Qt platform plugin "windows" in"".
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So I found the root of the problem. I did not have the most current version of Microsoft Visual C++ installed on my machine, the latest version I had was from 2013. Once I downloaded the most current version of Microsoft Visual C++, I was able to reinstall and everything seems to be functioning normally.
Yes, conda is recognized in the terminal. I think the problem is coming from the pyqt package. I am unable to install it and the pyqt package is what contains pyside which is the main error that I get when trying to open anaconda-navigator.
I get this error when trying to do
conda install pyqt