arrow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qian Xu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ARROW-66) Maybe some missing steps in installation guide
Date Tue, 15 Mar 2016 03:41:33 GMT

    [ https://issues.apache.org/jira/browse/ARROW-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15194692#comment-15194692
] 

Qian Xu edited comment on ARROW-66 at 3/15/16 3:41 AM:
-------------------------------------------------------

[~danrobinson010@gmail.com] Thanks for the tip.

I have tried to install the master branch code with the following steps:
{code}
[qxu@localhost dev-build]$ export ARROW_HOME=/usr/local
[qxu@localhost dev-build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
[qxu@localhost dev-build]$ make
[qxu@localhost dev-build]$ sudo make install
{code}

It moves forward. Now the error message is 
{code}
[qxu@localhost dev-build]$ python
Python 2.7.5 (default, Nov 20 2015, 02:00:19) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyarrow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/pyarrow-0.1.0dev-py2.7-linux-x86_64.egg/pyarrow/__init__.py",
line 20, in <module>
    from pyarrow.array import (Array, from_pylist, total_allocated_bytes,
ImportError: libarrow.so: cannot open shared object file: No such file or directory
{code}

Where does Python looks {{libarrow.so}} for?



was (Author: stanleyxu2005):
[~danrobinson010@gmail.com] Thanks for the tip.

I have tried to install the master branch code with the following steps:
{code}
[qxu@localhost dev-build]$ export ARROW_HOME=/usr/local
[qxu@localhost dev-build]$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
[qxu@localhost dev-build]$ make
[qxu@localhost dev-build]$ sudo make install
{code}

It moves forward. Now the error message is 
{code}
[qxu@localhost dev-build]$ python
Python 2.7.5 (default, Nov 20 2015, 02:00:19) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyarrow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/pyarrow-0.1.0dev-py2.7-linux-x86_64.egg/pyarrow/__init__.py",
line 20, in <module>
    from pyarrow.array import (Array, from_pylist, total_allocated_bytes,
ImportError: libarrow.so: cannot open shared object file: No such file or directory
{code}

Where does Python looks {{libarrow.so}} for?


> Maybe some missing steps in installation guide 
> -----------------------------------------------
>
>                 Key: ARROW-66
>                 URL: https://issues.apache.org/jira/browse/ARROW-66
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>         Environment: CentOS 7.0; Python 2.7.x
>            Reporter: Qian Xu
>              Labels: documentation
>
> I followed [the guide|https://github.com/apache/arrow/blob/master/python/doc/INSTALL.md]
to install Arrow project from scratch. I met some issues.
> 1. First of all, I need to build the cpp part. So I setup the thirdparty dependencies.
But when I {{cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME ..}}, it shows an error at {{get_filename_component}}
with {{FindGTest.cmake}}. After some digging, I noticed that I have to use *cmake 3* (instead
of cmake 2).
> 2. Now I am able to install {{pyarrow}}. The installation went smooth. But when I import
the module {{pyarrow}}, it says {{ImportError: No module named array}}. I haven't found any
description on this error. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message