You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,I have developed a Python application using StreamSync and I am trying to package it into an executable (.exe) using PyInstaller.
Here are the steps I have taken so far, but I am facing issues getting it to work correctly.
Created run_main.py :
Created hook_streamsync.py :
Created a PyInstaller spec file using:
pyinstaller --onefile --additional-hooks-dir=./hooks run_main.py --clean
Edited the generated run_app.spec file to include the necessary static files from StreamSync:
datas=[
('<path_to_streamsync_static>', 'streamsync/static')
]
Built the executable using:
pyinstaller run_main.spec --clean
Copied ui.json and main.py to the dist folder
The executable is generated successfully in the dist folder, but when I try to run it, I encounter issues with the StreamSync static logo repeated in the command line and the screen doesn't progress.
Could someone please guide me on how to correctly package a StreamSync application into an executable using PyInstaller?
Any help or suggestions would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,I have developed a Python application using StreamSync and I am trying to package it into an executable (.exe) using PyInstaller.
Here are the steps I have taken so far, but I am facing issues getting it to work correctly.
Created run_main.py :
Created hook_streamsync.py :
Created a PyInstaller spec file using:
pyinstaller --onefile --additional-hooks-dir=./hooks run_main.py --clean
Edited the generated run_app.spec file to include the necessary static files from StreamSync:
datas=[
('<path_to_streamsync_static>', 'streamsync/static')
]
Built the executable using:
pyinstaller run_main.spec --clean
Copied ui.json and main.py to the dist folder
The executable is generated successfully in the dist folder, but when I try to run it, I encounter issues with the StreamSync static logo repeated in the command line and the screen doesn't progress.
Could someone please guide me on how to correctly package a StreamSync application into an executable using PyInstaller?
Any help or suggestions would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: