Open temp89 opened 5 years ago
I run into this problem also. And fix it by browsing to the install directory and entering:
python -m pip install --upgrade pyqt5==5.9
in the Anaconda Prompt by Administer.
Directly entering
python -m pip install --upgrade pyqt5
will install pyqt5 version>5.10 which may not compatible with others.
By the way, I found in the edition Anaconda3-5.2.0-Windows-x86,
conda update --all
works.
And maybe installing x64 Anaconda in win10 x64 will not run into this problem.
does downgrading your qt version work? edit: nope. Starting to question why I bother with conda anymore. Something always breaks in my environment every time I use it and bugs like this go unpatched for months
found a solution: Anaconda had to be added to my PATH. Executing my script from anywhere but the Anaconda terminal, even in VS Code with the Anaconda Extension installed and the option to activate the environment in all python terminals set, it was not able to find the Qt installation unless %CONDA_PREFIX%\Library\bin was in my path
found a solution: Anaconda had to be added to my PATH. Executing my script from anywhere but the Anaconda terminal, even in VS Code with the Anaconda Extension installed and the option to activate the environment in all python terminals set, it was not able to find the Qt installation unless %CONDA_PREFIX%\Library\bin was in my path
This solved my issue. Thanks!
When using tensorflow, the ImportError: DLL load failed error, there are many reasons, up from the google.protobuf.pyext import _message error, it should be the protobuf version of the problem,
When tensorflow is automatically installed, protobuf installs the latest version 3.7.1, and there is an incompatibility problem.
Replace with protobuf 3.6.1 (pip install protobuf==3.6.1)
python -m pip install --upgrade pyqt5
this one works for me. Thx @temp89
Hello, I am a python novice here, and I am running into a similar problem, however it has to deal with PySide2 instead of PyQt5 and I just wanted to know, what is the install directory that you guys are refering to exactly? Is it C:\ProgramData\Anaconda3\pkgs?? Do I just open up the powershell and run the commands you guys mentioned from inside that directory?
I have been running into this DLL load issue forever and I legitimately have no idea how to fix it, this is the closest I have gotten.
This solved my problem. Created this account to thank you!
conda update --all Solved my problem. Thanks @temp89
Thank you so much!! "conda update --all" Solved my problem.
Actual Behavior
Fresh install on Win 10 x64 run Anaconda Navigator, Spyder, or try to launch any of the applications and it fails with:
After much googling this seems to be a very common issue. Past solutions include the absence of python3.dll (now included in the install) and overly long install directory addresses with non-standard characters. However these solutions do not work for many users.
Given how many inexperienced users are searching for a solution I thought it best to register one here for convenience (and hopefully a fix will be included in the next update).
Fix
On a fresh install, browse to the install directory and enter:
Bear in mind this will not work if you ran:
to get the latest versions of all the modules. If you have, then enter:
Anaconda or Miniconda version:
Anaconda 5.2 for Python 3.6