You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Bradford W Littooy (JIRA)" <ji...@apache.org> on 2018/03/26 21:07:01 UTC

[jira] [Updated] (ARROW-2355) [Python] Unable to import pyarrow [0.9.0] OSX via pip

     [ https://issues.apache.org/jira/browse/ARROW-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bradford W Littooy updated ARROW-2355:
--------------------------------------
    Description: 
I have pip installed pyarrow to my mac os x (version 10.13.3). When I try to import pyarrow into a python3.6 interpreter, I get the following import error:

 

>>> import pyarrow

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyarrow/__init__.py", line 47, in <module>

    from pyarrow.lib import cpu_count, set_cpu_count

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyarrow/lib.cpython-36m-darwin.so, 2): Library not loaded: libarrow_boost_system.dylib

  Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyarrow/libarrow.0.dylib

  Reason: image not found

>>>

I've installed pyarrow (0.9) on an EC2 instance with no issue. 

  was:
I just installed pyarrow to my mac os x (version 10.13.3). When I try to import pyarrow into a python3.6 interpreter, I get the following import error:

 

>>> import pyarrow

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyarrow/__init__.py", line 47, in <module>

    from pyarrow.lib import cpu_count, set_cpu_count

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyarrow/lib.cpython-36m-darwin.so, 2): Library not loaded: libarrow_boost_system.dylib

  Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyarrow/libarrow.0.dylib

  Reason: image not found

>>>

I've installed pyarrow (0.9) on an EC2 instance with no issue. 

        Summary: [Python] Unable to import pyarrow [0.9.0] OSX via pip  (was: [Python] Unable to import pyarrow [0.9.0] OSX)

> [Python] Unable to import pyarrow [0.9.0] OSX via pip
> -----------------------------------------------------
>
>                 Key: ARROW-2355
>                 URL: https://issues.apache.org/jira/browse/ARROW-2355
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Bradford W Littooy
>            Priority: Major
>
> I have pip installed pyarrow to my mac os x (version 10.13.3). When I try to import pyarrow into a python3.6 interpreter, I get the following import error:
>  
> >>> import pyarrow
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyarrow/__init__.py", line 47, in <module>
>     from pyarrow.lib import cpu_count, set_cpu_count
> ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyarrow/lib.cpython-36m-darwin.so, 2): Library not loaded: libarrow_boost_system.dylib
>   Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyarrow/libarrow.0.dylib
>   Reason: image not found
> >>>
> I've installed pyarrow (0.9) on an EC2 instance with no issue. 



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