https://bugs.winehq.org/show_bug.cgi?id=49334
Bug ID: 49334 Summary: Binaries compiled with PyInstaller on Wine crash upon creating temporary directories, affects Anaconda, too. Product: Wine Version: 5.0 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: rare_energy@protonmail.com Distribution: ---
When using PyInstaller 3.6 on Wine version 5.0 and above, the resulting binaries will crash upon running under Wine. The binaries will work on Windows 10.
This is the error: [176] INTERNAL ERROR: cannot create temporary directory! [176] LOADER: temppath is
Trying to install Anaconda, or running any of its binary packages excluding the installer itself, results in the same error.
However, running wine as root allows the app to run just fine.
Apparently, this is a solution: https://github.com/pyinstaller/pyinstaller/issues/4628#issuecomment-58680694...
The error on the PyInstaller issue tracker: https://github.com/pyinstaller/pyinstaller/issues/4628 https://github.com/pyinstaller/pyinstaller/issues/4423