I've been using pyinstaller to create Mac applications that utilize the mne package for EEG signal analysis. Until the most recent update of mne, everything worked fine.
However, now during the process of building my app,I'm encountering the error,
No such file or directory:
'/dist/MyApp.app/Contents/MacOS/mne/report/js_and_css/report.js'
The error persists when I try to run the unix executable from the command line. I can see report.js
within the mne module directory, and I've tried to modify my .spec
file so that pathex
includes the directory containing report.js
':
'/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mne/report/js_and_css/report.js'
However, this does not solve the problem. How can I get pyinstaller to find the location of report.js
during the build process?