You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2018/08/16 10:25:00 UTC
[jira] [Commented] (ARROW-3048) Import pyarrow fails if
scikit-learn is installed from conda
[ https://issues.apache.org/jira/browse/ARROW-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16582326#comment-16582326 ]
Uwe L. Korn commented on ARROW-3048:
------------------------------------
This is because boost-cpp from defaults is installed. Please only use C++ packages only from defaults or conda-forge, don't mix the two repositorities.
> Import pyarrow fails if scikit-learn is installed from conda
> ------------------------------------------------------------
>
> 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
>
> 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)