InfluxCommunity/influxdb3-python

Installation on raspberry pi is nontrivial

iverks opened this issue · 4 comments

iverks commented

Installing this library on raspberry pi is unfortunately very hard because installation of pyarrow on raspberry pi is hard. I'm warning you of this because I assume a sizeable amount of paying customers use raspberry pis in production like we do, and this makes migration from v2 to v3 a sizeable task.

I don't need help since we are using v2, but for the record this is the error I'm getting:

 CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
    Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found
    version "3.9.2")

I think that how to work around this or install pyarrow properly on rpi should be mentioned in the documentation

Hi @iverks, thanks for investigating this for us. I will dive a little deeper and see what can be done

Afaik, the problem with raspberry and pyarrow is that pyarrow is only built for 64bit. But unfortunately there are people who (unknowingly) still use a 32bit raspberry os and that doesn't work.

I am using RPI zero W(32 bit). I need only the sending part to influxdb, so for me the pyarrow is just dead-weight.
My workaround - use v2 or write my own client

@cnoam for the writes the v2 client will work pretty fine.