influxdb3-python icon indicating copy to clipboard operation
influxdb3-python copied to clipboard

Installation on raspberry pi is nontrivial

Open iverks opened this issue 1 year ago • 4 comments

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

iverks avatar Aug 28 '23 13:08 iverks

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

Jayclifford345 avatar Aug 30 '23 16:08 Jayclifford345

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.

Franky1 avatar Feb 26 '24 14:02 Franky1

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 avatar Apr 06 '24 11:04 cnoam

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

bednar avatar Apr 08 '24 05:04 bednar