Hello @bjornvandijkman
I think a solution would be PyInstaller or PyOxidizer. I just tried to build a small Streamlit app with pyinstaller app.py but on running the app.exe I got :
pkg_resources.DistributionNotFound: The 'streamlit' distribution was not found and is required by the application
[11236] Failed to execute script app

but that was my first time using the library, maybe there are knobs to turn to configure the build process…
Other solutions I could think of :

Seeing the requirements I guess the users are not tech-saavy, but is installing and running Docker containers on their machines a possibility ?
I’m breaching the “locally” part but could you host your Streamlit app on a server and use the st.file_uploader so users can upload their private data and analyze it ? Each user should get their session and not access other people’s sessions.