I am packaging my app with pyinstaller, but then at runtime I get this error displayed:
File “c:\users\user\anaconda3\envs\ms-mint\lib\site-packages\PyInstaller\loader\pyimod03_importers.py”, line 341, in get_data
with open(path, ‘rb’) as fp:
PermissionError: [Errno 13] Permission denied: ‘C:\Users\user\workspace\ms-mint\dist\Mint\dash\favicon.ico’
Which looks urgly. Is there a way to remove the favicon?
Hi @mail8
To set a favicon for your app you need to have a favicon.ico file in the assets folder, Dash takes it automatically (you don need to do anything else), if there are no such a file it will show the Dash favicon by default.
In your error it seams that any instruction is trying to find the favicon.ico in the Dash folder, review which file or process is doing that search.
That is working. I guess my setup is a bit special and I will have to figure that out later. The problem is when I use Plotly together with pyinstaller, that creates a Windows executable out of the python script.