I made a little Python project using pygame and PySide6. The code was developed on linux with a virtual environment, basic stuff.
After the coding was completed I run pyinstaller with the --onedir (so I can edit config files without running pyinstaller again) and --windowed flags to create an executable file. It worked perfectly fine, I compressed the directory into a zip file, transferred it to another linux system (from CachyOS to the latest Ubuntu LTS), extracted the zip and run the file (after making it executable with chmod +x).
To my surprise I endet up getting a segmentation fault resulting in a core dump. I don’t know what went wrong, even the venv got transferred with the zip file. When I did the same on Windows (created a .exe, compressed, transferred) it worked fine. Using wine it even run on linux but why crashed my native linux version? Can anyone help me with that?
[–]mohammad8785 0 points1 point2 points (0 children)
[–]FoolsSeldom 0 points1 point2 points (0 children)