'ImportError: DLL load failed while importing QtCore: %1 is not a valid Win32 application

I have been trying to open Anaconda Navigator on my system but it's not responding. I tried using the 'anaconda-navigator' command on the anaconda prompt but I got the following error messages.

Traceback (most recent call last): File "C:\Users\HP\anaconda3\Scripts\anaconda-navigator-script.py", line 6, in from anaconda_navigator.app.main import main File "C:\Users\HP\anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 19, in from anaconda_navigator.app.start import start_app File "C:\Users\HP\anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 16, in from qtpy.QtCore import QCoreApplication, QEvent, QObject, Qt # pylint: disable=no-name-in-module File "C:\Users\HP\anaconda3\lib\site-packages\qtpy\QtCore.py", line 57, in from PyQt5.QtCore import * ImportError: DLL load failed while importing QtCore: %1 is not a valid Win32 application.

I tried various solutions online but none worked for me. Including updating conda, reseting conda



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source