sfc-gh-aivanou opened a new issue, #43731:
URL: https://github.com/apache/arrow/issues/43731

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Does anyone know why `pip install pyarrow` does not work with 
`python:3.10-alpine` docker image?
   
   E.g.  this simple image:
   ```
   FROM python:3.10-alpine
   
   RUN apk add build-base linux-headers
   RUN pip install --no-cache-dir --upgrade pip
   RUN pip install cmake
   RUN pip install pyarrow
   
   ENTRYPOINT ["tail"]
   CMD ["-f","/dev/null"]
   
   ```
   
   Fails with
   
   ```
   13.92       copying 
pyarrow/tests/data/feather/v0.17.0.version.2-compression.lz4.feather -> 
build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/feather
   13.92       running build_ext
   13.92       creating 
/tmp/pip-install-x7hld2to/pyarrow_7d094121e229462db5f571453b46aa62/build/temp.linux-x86_64-cpython-310
   13.92       -- Running cmake for PyArrow
   13.92       cmake 
-DCMAKE_INSTALL_PREFIX=/tmp/pip-install-x7hld2to/pyarrow_7d094121e229462db5f571453b46aa62/build/lib.linux-x86_64-cpython-310/pyarrow
 -DPYTHON_EXECUTABLE=/usr/local/bin/python 
-DPython3_EXECUTABLE=/usr/local/bin/python -DPYARROW_CXXFLAGS= 
-DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off 
-DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release 
/tmp/pip-install-x7hld2to/pyarrow_7d094121e229462db5f571453b46aa62
   13.92       Traceback (most recent call last):
   13.92         File "/usr/local/bin/cmake", line 5, in <module>
   13.92           from cmake import cmake
   13.92       ModuleNotFoundError: No module named 'cmake'
   13.92       error: command '/usr/local/bin/cmake' failed with exit code 1
   13.92       [end of output]
   ```
   
   ### Component(s)
   
   Developer Tools, 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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to