David Schwab created ARROW-4809: ----------------------------------- Summary: 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
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)