I use Raspberry Pi 4 (4 GB RAM) and Raspbian GNU/Linux 10 (buster). I'm would like to run some python programs to capture some data 24/7. Raspberry pi would act as the data collector and another machine would analyze/process the data. My preferred way to store the data and later process on another machine would be: parquet file format
To install pyarrow on the raspberry pi for python3:
pip3 install pyarrow
I get the message:
Failed building wheel for pyarrow
Running setup.py clean for pyarrow
Failed to build pyarrow
Installing collected packages: pyarrow
Running setup.py install for pyarrow ... error
....
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-0d4i0qjw/pyarrow/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-dn2pfxo3/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-0d4i0qjw/pyarrow/
Afterwards I tried to follow the advice [https://raspberrypi.stackexchange.com/questions/110958/error-in-pyarrow-while-installing-apache-beam-in-raspberry-pi][1]
When running "make" I get the following error:
In file included from /home/pi/pyarrow/arrow/cpp/src/arrow/util/basic_decimal.cc:31:
/home/pi/pyarrow/arrow/cpp/src/arrow/util/int128_internal.h:26:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
#include <boost/multiprecision/cpp_int.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Does someone could advice or help how to install pyarrow on the raspberry pi to be able to be used with python?
Thank you