-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
ImportError: DLL load failed while importing QtCore ? #1851
Comments
Are you using include_msvcr? |
|
|
commenting out the platforms & ucrtbase.dll will cause this error: |
Release 6.15.3 is out! Have you got any success? Please give me feedback. |
build env: now computer C does NOT run either. |
Are you using PyQt5? I have tested pyqt in conda-forge and it works for pyqt5 sample. Can you try with the sample? |
1)i'm using PyQt5. 2)if built on Computer B |
On computer A and B, the pyqt is the same version? |
There may be multiple mixed versions of the qt runtime installed in your PATH, which may cause dependency resolution errors, please check the dynamic library files in your PATH environment variables first. |
I am facing the same issue. Any update/success? |
I ran into this problem as well ( |
@jarathomas Can you send me the build.exe folder zipped? (zip it and rename the extension to be accepted by github). Two weeks ago, I tested the sample using the 7.1.0 dev and it worked (bellow the screen of pyqt5 sample w/ py 3.10): |
Uh oh, this makes me think it is user error on my part. Apologies if this is a waste of time! Here is the zipped build.exe folder I installed everything in a virtual env using Package Version cx_Freeze 7.1.0 |
Not necessarily. It could be a system error, among others. I see that it is working in conda, but in the pip version there has been a regression since my test. I tested with cx_Freeze 7.0 and it passed. Can you check with 7.0? |
Just tested with 7.0 and it is working. Thanks for looking into this! |
Release 7.1.0-post0 is out! |
Prerequisite
Describe the bug
the exe file was created. while executed the built executable on another machine, i got this error:
To Reproduce
build on computer A,
run the built executable on computer A, B, C and D
Expected behavior
the executable runs on all the computers.
Screenshots
Desktop (please complete the following information):
Additional context
several months age, i built the executable with another version of cx_freeze(i forget the version), and it works on Computer D
The text was updated successfully, but these errors were encountered: