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.)
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.