question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to install ray above 0.6.4 from source in Arm64 architecture

See original GitHub issue

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): ubuntu 18.04 (Arm64 architecture)
  • Ray installed from (source or binary): source
  • Ray version: 0.6.4
  • Python version: 3.6.7
  • Exact command to reproduce: pip3 install -e . --verbose

Hi!

I’m trying to install ray 0.6.4 on the NVIDIA Xavier board which has Arm64 CPU.

However, install command fails with following error

Could not find a version that satisfies the requirement pyarrow==0.12.0.RAY (from versions: 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.13.0)
    No matching distribution found for pyarrow==0.12.0.RAY

I found out that build.sh is changed since 0.6.4 so it uses snapshot of pyarrow compiled in X86.

Therefore manually downloading and install whl didn’t work.

Is there a workaround for this problem?

If pyarrow==0.12.0.RAY is same as pyarrow 0.12, can I install it and skip this part in build.sh?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sammulicommented, Apr 3, 2019

Well, that was quite a rabbit hole I had to follow, but I finally got it built on my power 9 system.

Some notes on the process:

I followed the instructions given by @pcmoritz above:

git clone https://github.com/apache/arrow/
cd arrow/cpp
mkdir build
cd build
cmake -DARROW_PLASMA=on -DARROW_PYTHON=on -DARROW_DEPENDENCY_SOURCE=BUNDLED ..
make -j8
sudo make install

Then (note the additional ARROW_HOME variable I needed to set, though there’s probably a more elegant way of setting that with cmake):

cd arrow/python
PYARROW_WITH_PLASMA=1  ARROW_HOME=/usr/local python setup.py bdist_wheel

I had an older version of bazel, but that was no good, so I followed the instructions here (https://docs.bazel.build/versions/master/install-compile-source.html) and bootstrapped from a zip distribution of version 0.21.0.

Then finally, I had an outdated version of git, 1.8, (since I’m running on centos 7.4) which didn’t have the command line flags that the ray build was expecting. So, I built a bleeding edge version (2.9.5).

I was then able to do

pip install -e . --verbose

The only other gotcha I encountered was needing to put the arrow .so files into my LD_LIBRARY_PATH, though I suspect that I didn’t quite build arrow right. There’s probably some rpath flag or another that might help that issue.

From there I was able to do a minimal “ray.put” and “ray.get” test and it seemed to work.

0reactions
stale[bot]commented, Nov 26, 2020

Hi again! The issue will be closed because there has been no more activity in the 14 days since the last message.

Please feel free to reopen or open a new issue if you’d still like it to be addressed.

Again, you can always ask for help on our discussion forum or Ray’s public slack channel.

Thanks again for opening the issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Ray — Ray 2.2.0 - the Ray documentation
Install Ray with support for the dashboard + cluster launcher pip install -U "ray[default]" # Install Ray with minimal dependencies # pip install...
Read more >
Software Packages in "focal" - Ubuntu
... [universe]: Computational Logic for Applicative Common Lisp: library sources ... alien (8.95) [universe]: convert and install rpm and other packages ...
Read more >
conda-forge - :: Anaconda.org
alsa-lib, 1.2.8, LGPL-2.1-or-later, X, Advanced Linux Sound Architecture ... A package installed by conda-forge each time a build is run on CI. This....
Read more >
Debian -- Software Packages in "bookworm"
... Concepts in Electronic Structure III; acetoneiso (2.4-3+b1 [amd64, arm64, ... autopkgtest (5.27): automatic as-installed testing for Debian packages ...
Read more >
Vcpkg: a tool to acquire and build C++ open source libraries ...
3fd 2.6.2 C++ Framework For Fast Development ace 6.5.1 The ADAPTIVE Communication Environment anax 2.1.0‑3 An open source C++ entity system. antlr4 4.7 ANother Tool for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found