Open bitsgalore opened 2 years ago
Embeddable Python packages still work under Wine:
https://www.python.org/downloads/release/python-3104/
As for making pip work with these, see:
Abandoned Wine-based approach after trouble installing PyInstaller, and used Jpylyzer's Docker script instead:
https://github.com/KBNLresearch/isolyzer/commit/e7d78fa64a4facd43521b138cc1e0c3030d388f5
This seems to work, but I don't really understand how/why!
EDIT - I think it uses this:
https://github.com/cdrx/docker-pyinstaller
Under Wine the binaries result in an error if output is redirected to a file:
wine /home/johan/.wine/drive_c/isolyzer/isolyzer 10MB-CD-DVD.iso > test.xml
Result:
Fatal Python error: init_sys_streams: can't initialize sys standard streams
OSError: [WinError 6] Invalid handle
Current thread 0x0000002b (most recent call first):
abnormal program termination
I suspect this is a Wine issue, see: https://forum.winehq.org/viewtopic.php?t=33992
Adapt Docker based jpylyzer scripts?