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

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

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

Jarno Seppanen updated ARROW-3048:
----------------------------------
    Fix Version/s: 0.12.0

> [Python] Import pyarrow fails if scikit-learn is installed from conda (boost-cpp / libboost issue)
> --------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-3048
>                 URL: https://issues.apache.org/jira/browse/ARROW-3048
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.10.0
>         Environment: Ubuntu 16.04
>            Reporter: Jarno Seppanen
>            Priority: Major
>             Fix For: 0.12.0
>
>
> Hi, installing both pyarrow 0.10.0 and scikit-learnĀ 0.19.2 causes pyarrow import to break.
> Steps to reproduce
>  # cat >environment.yml <<EOF
> {code:java}
> name: asdf
> channels:
> - defaults
> - conda-forge
> dependencies:
> - python=3.6
> - pyarrow=0.10.0
> - scikit-learn=0.19.2{code}
> EOF
>  # conda env create
>  # source activate asdf
>  # python -c 'import pyarrow'
> {code:java}
> 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_{code}



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