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

Importing conda-forge pyarrow fails

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • Python
    • None

    Description

      Possibly related to: https://issues.apache.org/jira/projects/ARROW/issues/ARROW-2770

      Steps to reproduce:

      $ conda create -n test python=3 pyarrow -c conda-forge -y
      $ conda activate test
      $ python -c 'import pyarrow'
      

      This gives:

      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/home/phillip/miniconda3/envs/py36/lib/python3.6/site-packages/pyarrow/__init__.py", line 47
      , in <module>
          from pyarrow.lib import cpu_count, set_cpu_count
      ImportError: libboost_system.so.1.65.1: cannot open shared object file: No such file or directory
      

      Downgrading boost to 1.65.1 gives a symbol lookup error:

      $ conda install boost-cpp=1.65.1 -y -c conda-forge
      $ python -c 'import pyarrow'
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/home/phillip/miniconda3/envs/py36/lib/python3.6/site-packages/pyarrow/__init__.py", line 47
      , in <module>
          from pyarrow.lib import cpu_count, set_cpu_count
      ImportError: /home/phillip/miniconda3/envs/py36/lib/python3.6/site-packages/pyarrow/../../../libarrow.so.0: undefined symbol: _ZN5boost13match_resultsIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS_9sub_matchISB_EEEE12maybe_assignERKSF_
      

      Installing pyarrow from defaults and importing it works fine.

      cc kszucs xhochy

      Attachments

        Activity

          People

            uwe Uwe Korn
            cpcloud Phillip Cloud
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: