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

[Python] Import pyarrow fails if scikit-learn is installed from conda (boost-cpp / libboost issue)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.12.0
    • Python
    • None
    • Ubuntu 16.04

    Description

      Hi, installing both pyarrow 0.10.0 and scikit-learnĀ 0.19.2 causes pyarrow import to break.

      Steps to reproduce

      1. cat >environment.yml <<EOF
      name: asdf
      channels:
      - defaults
      - conda-forge
      dependencies:
      - python=3.6
      - pyarrow=0.10.0
      - scikit-learn=0.19.2

      EOF

      1. conda env create
      2. source activate asdf
      3. python -c 'import pyarrow'
      Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/jarno/miniconda3/envs/asdf/lib/python3.6/site-packages/pyarrow/__init__.py", line 60, in <module>
      from pyarrow.lib import cpu_count, set_cpu_count
      ImportError: /home/jarno/miniconda3/envs/asdf/lib/python3.6/site-packages/pyarrow/../../../libparquet.so.1: undefined symbol: _ZN5boost13match_resultsIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS5_EEEE12maybe_assignERKS9_

      Attachments

        Activity

          People

            Unassigned Unassigned
            jseppanen Jarno Seppanen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: