question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error loading QtWidgets.pyd

See original GitHub issue

@kayhayen

Created another little test for you, in this case I dont use * to import modules, you can reproduce it:

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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:38 (36 by maintainers)

github_iconTop GitHub Comments

1reaction
kayhayencommented, May 5, 2018

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?

0reactions
kayhayencommented, May 13, 2018

So this is in the current pre-release in improved form for the other findings.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found