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
def main():
# Getting path to python executable (full path of deployed python on Windows)
executable = sys.executable
path_to_main = os.path.join(os.path.dirname(__file__), "home.py")
# Running streamlit server in a subprocess and writing to log file
However, in the installed folder (or its subfolders), the file home.py is missing
The run_app.py file is found in the Python folder
Where is the home.py file?
Here is the snippet from installer.cfg
[Application]
name=XInsight
version=0.1
# How to launch the app - this calls the 'main' function from the 'myapp' package:
entry_point=run_app:main
icon=IDEAS-TIH.ico
[Python]
version=3.10.0
bitness=64
and this is the source structure
The text was updated successfully, but these errors were encountered:
Have you had a look at the streamlit example? I think your home.py is equivalent to app.py in the example
This is a guess, but you might want to put your .py files in a packge, like in that example. If you don't, then Pynsist doesn't know that run_app.py and home.py are connected, so you'd have to tell it to include both, and any other relevant files.
I have the following code in run_app.py
However, in the installed folder (or its subfolders), the file home.py is missing
The run_app.py file is found in the Python folder
Where is the home.py file?
Here is the snippet from installer.cfg
and this is the source structure
The text was updated successfully, but these errors were encountered: