Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2355

[Python] Unable to import pyarrow [0.9.0] OSX

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Packaging
    • Labels:
      None

      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. 

        Attachments

          Activity

            People

            • Assignee:
              xhochy Uwe L. Korn
              Reporter:
              blittooy Bradford W Littooy
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: