Hi,
Is there any way to config the csp_default.json located correctly?
The python is running no problem under python venv. However, when it is came to pyinstaller packed exe in windows. It failed and the error message shows below
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\abc\AppData\Local\Temp\_MEI145522\flask_csp\csp_default.json'
The folder to hold the .json that is constant value, but why it is in the "Temp" folder.
Can I change it to a fixed location or included in the python code.
Hi,
Is there any way to config the csp_default.json located correctly?
The python is running no problem under python venv. However, when it is came to pyinstaller packed exe in windows. It failed and the error message shows below
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\abc\AppData\Local\Temp\_MEI145522\flask_csp\csp_default.json'
The folder to hold the .json that is constant value, but why it is in the "Temp" folder.
Can I change it to a fixed location or included in the python code.