Error loading QtWidgets.pyd
See original GitHub issueCreated another little test for you, in this case I dont use *
to import modules, you can reproduce it:
- git clone https://github.com/brupelo/nuitka_tests
- Instructions and expected output here
NS: nuitka3 main.py --show-progress --recurse-all --standalone --plugin-enable=qt-plugins
didn’t make any difference, you’ll still get:
D:\sources\personal\python\apps\nuitka_tests\pyqt\test2\main.dist>main.exe
Traceback (most recent call last):
File "D:\sources\personal\python\apps\nuitka_tests\pyqt\test2\main.dist\main.py", line 3, in <module>
ImportError: LoadLibraryEx 'D:\sources\personal\python\apps\nuitka_tests\pyqt\test2\main.dist\PyQt5\QtWidgets.pyd' failed
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:38 (36 by maintainers)
Top Results From Across the Web
How to fix "DLL load failed while importing QtWidgets"?
Qt. pyd" file I guess, is responsible for this error. Because when I add this location to my Windows PATH: "C:\Program Files (x86)\Python38-32\ ......
Read more >Importerror cannot import name qtwidgets : Methods to fix
We can easily fix the error importerror cannot import name qtwidgets by just installing pyqt5 python module using pip , conda etc.
Read more >ImportError: DLL load failed while importing QtCore - Qt Forum
I cannot get pyqt5 to run under anaconda python. I get the following error message when I run a script shown below the...
Read more >Pyqt5 error message on import when testing simple tutorial
I receive the following error: from PyQt5.QtWidgets import QApplication, QWidget SystemError: initialization of QtWidgets failed without ...
Read more >Error starting from scheduler - Dropbox Community
dropbox: load fq extension 'C:\\Program Files (x86)\\Dropbox\\Client\\121.4.4267\\PyQt5.QtWidgets.cp38-win32.pyd' dropbox: load fq extension ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The factory branch is good now, it worked for me.
The thing of not having a reproducer is that sometimes there can be more than one issue. I am personally shocked at the breadth of issues. I am willing to include this in a hotfix should it prove useful. I do not think the change is all that much.
For the caching, I need to think more. Maybe, Nuitka ought to produce just one file, for a project, that can be provided to speed up repeated distribution building, and its user decision to use it or not.
The thing is, if you installed something new, how would the cache know it’s invalid. It is effectively unknowable for an algorithm. Taking file checksums will at least know when to trust it to be somewhat good enough. Alternatively, I need to consider the parallel runnings of depends.exe, why is it so slow anyway?
So this is in the current pre-release in improved form for the other findings.