I have been trying to package a script in dash using pyinstaller. The dash app is supposed to plot a plotly graph but fails in the following way:
FileNotFoundError: [Errno 2] No such file or directory: β/TEMP/_MEI152202/plotly/package_data/default-schema.jsonβ
Failed to execute script
Here is another question where this problem was solved by using another executable wrapper but I was wondering if anyone knew how to get this working in pyinstaller, it being an easy and intuitive option for making exes.
Having a similar problem. In the dist folder I have the executable named exe_name.exe. So if I understand correctly you are making a folder called exe_name in the same folders as the executable? Did you have to modify the pyinstaller command after copying those files over.
This worked on getting the app to boot successfully, but we then got Error loading layout.... I had to carry on following the error messages and copying the entirety of dash_core_components across etc.
I.e. keep copying the missing .js files across and you should get there