[
https://issues.apache.org/jira/browse/ARROW-4809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805408#comment-16805408
]
Wes McKinney commented on ARROW-4809:
-------------------------------------
This was reported again here today
https://github.com/apache/arrow/issues/2213#issuecomment-478037029
The cited repro was
"
I think this is still broken-ish. The following dockerfile results in a
pyarrow installation that is broken with the
{{_ZNK5arrow5Field8ToStringB5cxx11Ev}} problem:
{code}
FROM jupyter/datascience-notebook
RUN conda install -y -c conda-forge -c pytorch opencv tensorflow graphviz tqdm
keras numba numpy tqdm pythreejs feather-format ffmpeg
{code}
This is with the latest pull of jupyter/dockerscience-notebook, i.e.
jupyter/datascience-notebook@sha256:2f7865853e27982ed98c314054ee62e10e1bea3b0e3bb6fafc9b7f68e9e887be
The workaround is presumably this:
{code}
FROM jupyter/datascience-notebook
RUN conda install -y -c conda-forge -c pytorch opencv tensorflow graphviz tqdm
keras numba numpy tqdm pythreejs feather-format ffmpeg
conda install arrow-cpp=0.12.* -c conda-forge
{code}
which then results in a working version of pyarrow. Package management is
confusing :).
"
> [Python] import error with undefined symbol
> _ZNK5arrow6Status8ToStringB5xcc11Ev
> -------------------------------------------------------------------------------
>
> Key: ARROW-4809
> URL: https://issues.apache.org/jira/browse/ARROW-4809
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.11.1
> Environment: RHELS 6.10; Python 3.7.2
> Reporter: David Schwab
> Priority: Major
> Fix For: 0.14.0
>
>
> I installed conda 4.5.12 and created a new environment named test-env. I
> activated this environment and installed several packages with conda,
> including pyarrow. When I run a Python shell and import pyarrow, I get the
> following error:
>
> {code:java}
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/test-env/lib/python3.7/site-packages/pyarrow/__init__.py", line 54,
> in <module>
> from pyarrow.lib import cpu_count, set cpu_count
> Import Error:
> /test-env/lib/python3.7/site-packages/pyarrow/lib.cpython-37m-x86_64-linux-gnu.so:
> undefined symbol: _ZNK5arrow6Status8ToStringB5xcc11Ev
> {code}
> From Googling, I believe this has to do with the compiler flags used to build
> either pyarrow or one of its dependencies (libboost has been suggested); I
> can build the package from source if I need to, but I'm not sure what flags I
> would need to set to fix the error.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)