After being a great fan of streamlit for a good time now and having loads of fun with it in desktop enviroments, I’m currently trying to deploy an app on a Raspberry Pi (Idea is to have the raspberry collect data 24/7 and use Streamlit within the LAN to see the data-status whilst collecting)
Unfortunately I’ve run into a ton of issues with using Streamlit. A few are described here:
Using PIP with Python 3.9 with the try of installing the newest version results in a PEP Error.
Using PIP with Python 3.8.4 with the try of installing the newest version results in a PEP Error
The only Streamlit version i’ve been able to install is V0.62.0 (a version mentioned in older Raspberry PI forum entries.)
Are there any colleagues here, who have successfully launched streamlit on a raspberry pi and are able to share some experience on the process?
I think the problem is the 32bit OS.
Streamlit has some dependencies, among others pyarrow, which only runs on 64bit OS.
Therefore i would try Raspbian Lite 64bit which should run on your raspberry.
Side note: when I set up Streamlit on my Raspberry Pi 3, I had to use miniconda to install PyArrow ahead of Streamlit. I’m sure there’s variation with what OS is used exactly, but just in case you hit that error, I thought I’d mention it… I also didn’t bother with 32-bit and just used 64-bit. (I think I used Manjaro on my latest setup, but I’d have to look.)