Return-Path: X-Original-To: apmail-arrow-dev-archive@minotaur.apache.org Delivered-To: apmail-arrow-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F56B1852A for ; Tue, 15 Mar 2016 03:41:39 +0000 (UTC) Received: (qmail 89834 invoked by uid 500); 15 Mar 2016 03:41:34 -0000 Delivered-To: apmail-arrow-dev-archive@arrow.apache.org Received: (qmail 89492 invoked by uid 500); 15 Mar 2016 03:41:34 -0000 Mailing-List: contact dev-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list dev@arrow.apache.org Received: (qmail 89372 invoked by uid 99); 15 Mar 2016 03:41:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2016 03:41:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 90A1F2C1F58 for ; Tue, 15 Mar 2016 03:41:33 +0000 (UTC) Date: Tue, 15 Mar 2016 03:41:33 +0000 (UTC) From: "Qian Xu (JIRA)" To: dev@arrow.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (ARROW-66) Maybe some missing steps in installation guide MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 "", line 1, in File "/usr/lib64/python2.7/site-packages/pyarrow-0.1.0dev-py2.7-linux-x86_64.egg/pyarrow/__init__.py", line 20, in 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 "", line 1, in File "/usr/lib64/python2.7/site-packages/pyarrow-0.1.0dev-py2.7-linux-x86_64.egg/pyarrow/__init__.py", line 20, in 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)