You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ryan White (JIRA)" <ji...@apache.org> on 2019/01/22 23:27:00 UTC

[jira] [Commented] (ARROW-4327) [Python] pyarrow fails to load libarrow.so in Fedora / CentOS Docker build

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

Ryan White commented on ARROW-4327:
-----------------------------------

Great, thanks [~wesmckinn] ... I figured I overlooked something trivial.

Missing the hypothesis module as well.
{code:java}
ImportError while loading conftest '/work/repos/arrow/python/pyarrow/tests/conftest.py'.
pyarrow/tests/conftest.py:20: in <module>
import hypothesis as h
E ModuleNotFoundError: No module named 'hypothesis'
{code}
Adding the hypothesis package during the pip install fixes everything. 
{code:java}
pip install six numpy pandas cython pytest hypothesis
{code}

> [Python] pyarrow fails to load libarrow.so in Fedora / CentOS Docker build
> --------------------------------------------------------------------------
>
>                 Key: ARROW-4327
>                 URL: https://issues.apache.org/jira/browse/ARROW-4327
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>         Environment: CentOS7 or Fedora29
>            Reporter: Ryan White
>            Priority: Minor
>              Labels: build
>
> Trying to build pyarrow on CentOS or Fedora fails to load libarrow.so. The build does not use conda, rather is similar to the OSX build instructions. 
>  A dockerfile is available here:
> https://github.com/ryanmackenziewhite/dockers/blob/master/centos7-py36-arrowbuild/Dockerfile
> {code:java}
> // ImportError while loading conftest '/work/repos/arrow/python/pyarrow/tests/conftest.py'.
> pyarrow/__init__.py:54: in <module>
> from pyarrow.lib import cpu_count, set_cpu_count
> E ImportError: libarrow.so.12: cannot open shared object file: No such file or directory
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)