PY01: [Anaconda 2020.07] Couldn’t Open Jupyter, Spyder on Win10

Read time: 2 min
keywords: Qt platform, PyQt5, QtPy
Error: "could not find or load the Qt platform plugin windows."It’s actually an article I wrote on Github “ContinuumIO/anaconda-issues”, and it also helped a few people facing the same error. It's quite unusual and I hope someone could explain why this error happened. Here’s the link:
https://github.com/ContinuumIO/anaconda-issues/issues/12082

Outline
(1) Issue
(2) Error
(3) Solution
(4) Remark on 2021/01/29

Figure 1: The question on Github “ContinuumIO/anaconda-issues”

(1) Issue

On 2020/10/06 I opened my NB and found that I couldn’t open Jupyter, Spyder, Anaconda anymore on my Win10 (64 bit) NB. So weird. So I uninstalled it and install the latest version 2020.07.

(2) Error

  1. After installed Anaconda, I couldn’t open Spyder, Jupyter, and Anaconda Navigator
  2. Entering some lines in Anaconda Prompt, and I saw “could not find or load the Qt platform plugin windows.”
  3. Warnings occured when insalling PyQt5(pyqt5):
    ERROR: spyder 4.1.4 requires pyqtwebengine<5.13; python_version >= “3”, which is not installed.
    ERROR: spyder 4.1.4 has requirement pyqt5<5.13; python_version >= “3”, but you’ll have pyqt5 5.15.1 which is incompatible.

(3) Solution

Open the Anaconda Prompt as a system administrator, then enter the following lines in order:

conda update conda
conda update --all
conda remove QtPy PyQt5
pip install QtPy PyQt5

ERROR: spyder 4.1.4 requires pyqtwebengine<5.13; python_version >= “3”, which is not installed.
ERROR: spyder 4.1.4 has requirement pyqt5<5.13; python_version >= “3”, but you’ll have pyqt5 5.15.1 which is incompatible.

conda update anaconda-navigator
anaconda-navigator --reset
conda update anaconda-client
conda update -f anaconda-client

Through the steps above, I could open Jupyter and Anaconda Navigator. As for Spyder, it doesn’t work anymore. I really hope someone could tell me how to make my Spyder available again.

PS: I found that actually I could launch Spyder “through Anaconda Navigator.”

(4) Remark on 2021/01/29

On 2021/01/29 after I updating the Anaconda, I faced the same issue and the solution below failed. Finally I found the following solutions partially worked — I could launch Jupyter but failed to launch Spyder.

COPY the
Continuum\Anaconda3\Library\plugins\platforms
folder to
Continuum\Anaconda3

Source: https://github.com/ContinuumIO/anaconda-issues/issues/1270

Last time I’ve tried Anaconda3 versions of 2020.07, 2020.02 & 2019.10 and kept encountering this issue, but this time, after I uninstall 2020.07 & install the latest version 2020.11, this weird issue didn’t happen anymore!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yu-Cheng Kuo

Yu-Cheng Kuo

62 Followers

ML/DS using Python & R. A Taiwanese earned MBA from NCCU and BS from NTHU with MATH major & ECON minor. Email: yc.kuo.28@gmail.com