sdy72 commented on issue #14920:
URL: https://github.com/apache/arrow/issues/14920#issuecomment-1366004832

   Thanks. My bad. I wiped and re-unpacked arrow source code and the above 
cmake commands completed with success.
   (I also went back to use cmake 3.18 installed with apt).
   
   Now I get this error when I try to install pyarrow with pip:
   
   ```
     -- Build files have been written to: 
/tmp/pip-install-lmhsbdp3/pyarrow_0897d7658651493cb858488552932daa/build/cpp
     -- Finished CMake for PyArrow C++
     -- Running CMake build and install for PyArrow C++
     cmake --build . --config release --target install
     Scanning dependencies of target arrow_python_objlib
     [  4%] Building CXX object 
CMakeFiles/arrow_python_objlib.dir/arrow/python/arrow_to_pandas.cc.o
     
/tmp/pip-install-lmhsbdp3/pyarrow_0897d7658651493cb858488552932daa/pyarrow/src/arrow/python/arrow_to_pandas.cc:49:10:
 fatal error: arrow/compute/api.h: No such file or directory
        49 | #include "arrow/compute/api.h"
           |          ^~~~~~~~~~~~~~~~~~~~~
     compilation terminated.
     gmake[2]: *** [CMakeFiles/arrow_python_objlib.dir/build.make:82: 
CMakeFiles/arrow_python_objlib.dir/arrow/python/arrow_to_pandas.cc.o] Error 1
     gmake[1]: *** [CMakeFiles/Makefile2:174: 
CMakeFiles/arrow_python_objlib.dir/all] Error 2
     gmake: *** [Makefile:149: all] Error 2
     error: command '/usr/bin/cmake' failed with exit code 2
     ----------------------------------------
     ERROR: Failed building wheel for pyarrow
   Failed to build pyarrow
   ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be 
installed directly
   ```


-- 
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