Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4809

[Python] import error with undefined symbol _ZNK5arrow6Status8ToStringB5xcc11Ev

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 0.11.1
    • None
    • Python
    • None
    • RHELS 6.10; Python 3.7.2

    Description

      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:

       

      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
      

      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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            DSchwab David Schwab
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: