Raspberry Pi, Docker, & Pandas Challenge

60 Views Asked by At

I am struggling to create a docker container that has pandas for my raspberry pi. Has anyone done this successfully and able to share how they got it to work?

Below is my dockerfile:

# Use an official Python runtime as a parent image
FROM arm32v7/python:3.7

# Install system dependencies for Pandas
RUN apt-get update \
    && apt-get install -y \
        build-essential \
        python3-dev \
        libatlas-base-dev \
        gfortran \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

# Install Pandas and NumPy
RUN pip install pandas numpy

# Commands to run within the container (not needed for this example)
CMD ["/bin/bash"]
0

There are 0 best solutions below