Deploying Streamlit app with Balena

I’ve been trying to deploy my Streamlit app to display on my raspberry pi LCD screen but keep getting an error when installing dependencies from my requirements.txt file… I’ve only got Streamlit in my requirements.txt file and it simply won’t deploy with Balena.

I’ve built the image with Docker and have been able to run it just fine so I don’t see what the issue is. I’m new to this, does anyone have a solution or has done this before?

Hi @Tasha,

Thanks for your question and welcome to our community! :hugs:

The issue with installing pyarrow might stem from a few potential causes: missing development tools, outdated pip/setuptools, or the python:3.9-slim image not having the required libraries to build the package.

Since pyarrow and pillow have native extensions and aren’t pure Python packages, you may want to try installing the Python development packages. You can do this with the following Docker command:

RUN apt-get install -y python3-dev

Let me know if this solves the issue.

Best,
Charly

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.