-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solve for "ImportError: DLL load failed: The specified procedure could not be found" for PyQt5.QtWidgets #10079
Comments
I run into this problem also. And fix it by browsing to the install directory and entering: |
does downgrading your qt version work? |
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. |
#10079 (comment) |
This solved my problem. Created this account to thank you! |
conda update --all |
Thank you so much!! |
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
The text was updated successfully, but these errors were encountered: