question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder failed to start because no Qt platform plugin could be initialized.

See original GitHub issue

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 (or pip, 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?

  1. Download Anaconda
  2. 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 AnacondaError AnacondaError2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
corymastermancommented, Sep 4, 2020

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.

0reactions
corymastermancommented, Sep 2, 2020

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

CondaError: Cannot link a source that does not exist. C:\Users\masterm\AppData\Local\Continuum\Anaconda3\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found