haddad-github opened a new issue, #36292:
URL: https://github.com/apache/arrow/issues/36292

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Hi, I'm having issues getting pyarrow to install on my Raspberry Pi 4.
   
   I tried a bunch of solutions online and none worked.
   
   If I start from the beginning, these are the commands that I ran and their 
output:
   
   1. `python --version`
   
   ` Python 3.9.2`
   
   2. `python tempToGBQ.py`
   
   ` ImportError: Missing optional dependency 'pandas-gbq'. pandas-gbq is 
required to load data from Google BigQuery. See the docs: 
https://pandas-gbq.readthedocs.io. Use pip or conda to install pandas-gbq.`
   
   3. `pip install pandas-gbq`
   
   ```
         Traceback (most recent call last):
           File "/home/xxxx/.local/bin/cmake", line 5, in <module>
             from cmake import cmake
         ModuleNotFoundError: No module named 'cmake'
         error: command '/home/xxxx/.local/bin/cmake' failed with exit code 1
         [end of output]
   
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
     ERROR: Failed building wheel for pyarrow
   Failed to build pyarrow
   ERROR: Could not build wheels for pyarrow, which is required to install 
pyproject.toml-based projects
   ```
   
   4. `pip install cmake`
   
   ```
   Defaulting to user installation because normal site-packages is not writeable
   Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
   Requirement already satisfied: cmake in 
/home/xxxx/.local/lib/python3.9/site-packages (3.26.4)
   ```
   
   5. `pip install pyarrow`
   ```
   ...
     Preparing metadata (pyproject.toml) ... done
   Discarding 
https://files.pythonhosted.org/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz
 (from https://pypi.org/simple/pyarrow/) (requires-python:>=3.7): Requested 
pyarrow from 
https://files.pythonhosted.org/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz
 has inconsistent version: expected '12.0.1', but metadata has '12.0.0'
     Using cached pyarrow-12.0.0.tar.gz (1.0 MB)
   ...
   -- Running cmake for PyArrow
   cmake 
-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-9kgef9kr/pyarrow_419976d002f148039eeaa01b452fe324/build/lib.linux-aarch64-cpython-39/pyarrow
 -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPython3_EXECUTABLE=/usr/bin/python3 
-DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off 
-DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off 
-DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off 
-DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off 
-DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off 
-DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off 
-DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release 
/tmp/pip-install-9kgef9kr/pyarrow_419976d002f148039eeaa01b452fe324
   Traceback (most recent call last):
   File "/home/xxxx/.local/bin/cmake", line 5, in <module>
     from cmake import cmake
   ModuleNotFoundError: No module named 'cmake'
   error: command '/home/xxxx/.local/bin/cmake' failed with exit code 1
   [end of output]
   
   note: This error originates from a subprocess, and is likely not a problem 
with pip.
   ERROR: Failed building wheel for pyarrow
   Failed to build pyarrow
   ERROR: Could not build wheels for pyarrow, which is required to install 
pyproject.toml-based projects
   ```
   
   So I'm stuck in a loop of dependencies not installing, stemming from PyArrow 
not wanting to build.
   
   From there, what should be the course of action, and is there more info I 
need to provide to debug this?
   
   ### Component(s)
   
   Packaging, Python


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to