[
https://issues.apache.org/jira/browse/ARROW-4809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787957#comment-16787957
]
Francois Saint-Jacques edited comment on ARROW-4809 at 3/8/19 3:16 PM:
-----------------------------------------------------------------------
I'm running a docker image of centos:6.10, downloaded latest miniconda and
can't reproduce:
{code}
[root@8631455ab183 /]# conda create -n arrow-test
[root@8631455ab183 /]# conda activate arrow-test
(arrow-test) [root@8631455ab183 /]# conda install python=3.7.2 pyarrow ipython
...
(arrow-test) [root@8631455ab183 /]# cat /etc/redhat-release
CentOS release 6.10 (Final)
(arrow-test) [root@8631455ab183 /]# which python
/root/miniconda3/envs/arrow-test/bin/python
(arrow-test) [root@8631455ab183 /]# ipython
Python 3.7.2 (default, Dec 29 2018, 06:19:36)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.3.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pyarrow
In [2]: pyarrow.__version__
Out[2]: '0.11.1'
In [3]:
Do you really want to exit ([y]/n)? y
(arrow-test) [root@8631455ab183 /]# python
Python 3.7.2 (default, Dec 29 2018, 06:19:36)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyarrow
>>> pyarrow.__path__
['/root/miniconda3/envs/arrow-test/lib/python3.7/site-packages/pyarrow']
>>>
{code}
was (Author: fsaintjacques):
I'm running a docker image of centos:6.10, downloaded latest miniconda and
can't reproduce:
{code}
# conda create -n arrow-test
...
# conda activate arrow-test
(arrow-test) [root@8631455ab183 /]# cat /etc/redhat-release
CentOS release 6.10 (Final)
(arrow-test) [root@8631455ab183 /]# which python
/root/miniconda3/envs/arrow-test/bin/python
(arrow-test) [root@8631455ab183 /]# ipython
Python 3.7.2 (default, Dec 29 2018, 06:19:36)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.3.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pyarrow
In [2]: pyarrow.__version__
Out[2]: '0.11.1'
In [3]:
Do you really want to exit ([y]/n)? y
(arrow-test) [root@8631455ab183 /]# python
Python 3.7.2 (default, Dec 29 2018, 06:19:36)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyarrow
>>> pyarrow.__path__
['/root/miniconda3/envs/arrow-test/lib/python3.7/site-packages/pyarrow']
>>>
{code}
> import pyarrow error: undefined symbol
> --------------------------------------
>
> 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: Blocker
>
> 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)