I am following this tutorial to convert my Streamlit-App to an Executable, so that I can share it with other people locally.
The tutorial works and when I click on the “run.exe” file in the “dist”-Folder, the Streamlit-App is opening.
However I always getting the error, that some packages are not installed - but before using Pyinstaller I made sure that every package in my conda environment is installed. If I run the app solely in my env, everthing works. If I use the “run.exe” that results from Pyinstaller, I am getting “ModuleNotFoundError” on almost every package I am using.
How can I prevent this / What steps do I need to add in the tutorial to install for example a requirements.txt file?
Thanks but already tried this tutorial without success. Maybe some versions in the video are not up-to-date. Always getting errors like ValueError: Can't find a pure Python 3 wheel for 'faiss-cpu'. when calling npm run dump streamlit_app -- -U -r requirements.txt
Also getting the error: Error: ENOENT: no such file or directory, open '/Users/mweissenba001/Documents/StreamlitExeVersuch/stlite_versuch/build/stlite-manifest.json' when running npm run serve
I am getting the same error for almost every package I am using.
Maybe a stupid question: if i am using python==3.11.5 or python==3.9.18, how can I check if the Python version has wheels for it? So on the faiss link you provided, which version would you choose?
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.