-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fail to found python dll since Python 3.12 (UPX issue) #62
Comments
Hmm. I cannot reproduce this issue. Any non-standard mounts maybe? On which filesystem(s) is/are your docker storage directories? We already had horrible issues on WSL2 mounts (#16 (comment)), but you should receive a big, fat warning with such a setup (at least when launching the container through the default entrypoint...) |
We have this on different Linux Debian 11 machines. The following docker run command is used :
the script $CI_JOB_NAME.sh is used to install required python libraries, generate the .exe with PyInstaller and check the .exe sanity :
|
Could you try with (I'd suggest to disable UPX if you don't care that much about the final file size, since it often leads to false-positives with Anti-Virus software) |
Both solutions ( |
This seems similar to pyinstaller/pyinstaller#1565 ... Strange that it only affects Wine... |
We are using the official pywine docker from dockerhub to generate .exe binaries with PyInstaller inside the docker. At the end of our script we have a check by using
wine generated_binary.exe -v
to get the binary version. Since the update to Python 3.12, this command returns the following error :This can be reproduced with pywine:3.12 and pywine:latest (currently python 3.12.4).
The text was updated successfully, but these errors were encountered: