WPI-SurfMet-Lab / Multiscale-Statistical-Analysis

Multiscale regression/discrimination analysis software, which uses multiscale area data exported from MountainsMap®.
https://www.surfacemetrology.org/
MIT License
2 stars 0 forks source link

Adding --windowed flag in Pyinstaller prevents app from launching #42

Closed MatthewSpofford closed 4 years ago

MatthewSpofford commented 4 years ago

Command used to generate original executable: pyinstaller --hidden-import "scipy.special.cython_special" -y --windowed --onefile -n "MultiscaleStatisticalAnalysis" main.py Running this executable failed, with a popup warning stating: Failed to execute script.

However using this pyinstaller command does work: pyinstaller --hidden-import "scipy.special.cython_special" -y --onefile -n "MultiscaleStatisticalAnalysis" main.py The console has no errors, nor are there any popups.

MatthewSpofford commented 4 years ago

Commented out usage of faulthandler, as it required console output and prevented launching of a no-console executable.