Anaconda Navigator won't open. "ImportError: Error loading DLL: The specified procedure could not be found."

I uninstalled and then reinstalled Anaconda. I cannot launch Navigator or Spyder (nothing happens when I click on them in the start menu). When I try to run from the terminal, I get the message "ImportError: DLL load failed: The specified procedure could not be found." and below:

C:\Users\me\ anaconda-navigator
Traceback (most recent call last):
  File "C:\Users\me\AppData\Local\Continuum\Anaconda3\Scripts\anaconda-navigator-script.py", line 5, in (module)
  sys.exit(anaconda_navigator.app.main.main())
  File "C:\Users\me\AppData\Local\Continuum\Anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 47, in main
  from anaconda_navigator.utils.logs import clean_logs
  File "C:\Users\me\AppData\Local\Continuum\Anaconda3\lib\site-packages\anaconda_navigator\utils\__init__.py", line 15, in (module)
  from qtpy.QtGui import QIcon
  File "C:\Users\me\AppData\Local\Continuum\Anaconda3\lib\site-packages\qtpy\QtGui.py", line 20 in (module)
  from PyQt5.QtGui import 8
ImportError: DLL load failed: The specified procedure could not be found.

      

+3


source to share


1 answer


I'm not sure if this is a "clean" solution, but I managed to get Anaconda Navigator back by reinstalling the PyQT5 library.

I tried updating and installing it via anaconda prompt (preinstalled with anaconda install first) by typing:

conda update pyqt5

      

and later (when he said it was not found):

conda install pyqt5

      



but unfortunately he could not find a library named pyqt5 in his repository.

I had to:

pip install pyqt5

      

which I very much avoid as conda and pip often don't work well together, but oddly enough, it solved the problem, at least for now.

0


source







All Articles