[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-04-30 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1529240625

   What is your platform?
   
   In general, 
https://arrow.apache.org/docs/dev/developers/python.html#building-on-linux-and-macos
 should work.
   If it doesn't work, we should update our documentations.


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-25 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1404561612

   No problem. :-)


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-25 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1404495096

   Could you show the full log?


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-25 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1404391794

   You need to use `ninja-release-python` or `ninja-release-python-maximum` 
preset to use `pyarrow.dataset`:
   
   ```bash
   cmake --preset=ninja-release-python .
   cmake --build .
   sudo cmake --build . --target install
   pip install pyarrow
   ```


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-24 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1401528719

   `DESTDIR=/tmp/test/ make install` is safer but it's not needed because your 
problem was solved. :-)
   
   I think that documented command lines work well but there are many command 
lines. So some human errors can be injected like `CMAKE_PREFIX_PATH`.
   If we provide pyarrow wheels for Raspberry Pi, you just need to run `pip 
install pyarrow`.
   We provide pyarrow wheels for aarch64: 
https://pypi.org/project/pyarrow/#files
   I don't know what architecture is required for Raspberry Pi.
   
   BTW, can we close this issue?


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-22 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1399426795

   It seems that `export ARROW_HOME=...` is missing.
   Could you show `echo $CMAKE_PREFIX_PATH`?
   Could you also show `make install` output?
   
   


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-21 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1399390586

   How did you install Apache Arrow C++? Could you show complete command lines?


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-21 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1399385714

   Ah, we need to install build dependencies manually with `pip install 
--no-build-isolation`:
   
   ```bash
   wget 
https://raw.githubusercontent.com/apache/arrow/master/python/requirements-build.txt
   pip install -r requirements-build.txt
   pip install --no-build-isolation pyarrow
   ```
   
   I think that you can remove `/home/pi/.local/bin/cmake` by `/usr/bin/python3 
-m pip uninstall cmake`.


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-21 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1399378926

   Could you use CMake installed by `apt` not `pip` or try `pip install 
--no-build-isolation pyarrow`?
   


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-21 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1399368323

   Does `/home/pi/pyarrow-dev/bin/cmake --help` work?


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-21 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1399360276

   OK. Could you show `head /home/pi/pyarrow-dev/bin/cmake`?
   I think the shebang of the file is wrong. It must be 
`#!/home/pi/pyarrow-dev/bin/python3`.


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-21 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1399335321

   What is `/home/pi/.local/bin/cmake`?
   
   Could you show `file /home/pi/.local/bin/cmake` and `head 
/home/pi/.local/bin/cmake`?
   
   How did you install CMake? `pip install cmake`? ( 
https://pypi.org/project/cmake/ ?)


-- 
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: github-unsubscr...@arrow.apache.org

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



[GitHub] [arrow] kou commented on issue #33814: [Python] Can't install on Raspberry Pi (Failed building wheel for pyarrow)

2023-01-20 Thread via GitHub


kou commented on issue #33814:
URL: https://github.com/apache/arrow/issues/33814#issuecomment-1399201865

   It seems that you didn't define `CMAKE_PREFIX_PATH`:
   
   
https://arrow.apache.org/docs/dev/developers/python.html#using-system-and-bundled-dependencies
   
   ```bash
   export ARROW_HOME=$(pwd)/dist
   export LD_LIBRARY_PATH=$(pwd)/dist/lib:$LD_LIBRARY_PATH
   export CMAKE_PREFIX_PATH=$ARROW_HOME:$CMAKE_PREFIX_PATH
   ```


-- 
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: github-unsubscr...@arrow.apache.org

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