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

[Python] Can't import pyarrow 0.14.0 due to mismatching libcrypt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.14.0
    • None
    • Packaging
    • None
    • 5.1.16-300.fc30.x86_64
      Python 3.7.3
      libxcrypt-4.4.6-2.fc30.x86_64

    Description

      In a freshly created virtual environment, after I install pyarrow 0.14.0 (using pip), importing pyarrow from the python prompt leads to crash:

      $ mktmpenv
      [..]
      This is a temporary environment. It will be deleted when you run 'deactivate'.
      $ pip install pyarrow
      Collecting pyarrow
      Using cached https://files.pythonhosted.org/packages/8f/fa/407667d763c25c3d9977e1d19038df3b4a693f37789c4fe1fe5c74a6bc55/pyarrow-0.14.0-cp37-cp37m-manylinux2010_x86_64.whl
      Collecting numpy>=1.14 (from pyarrow)
      Using cached https://files.pythonhosted.org/packages/fc/d1/45be1144b03b6b1e24f9a924f23f66b4ad030d834ad31fb9e5581bd328af/numpy-1.16.4-cp37-cp37m-manylinux1_x86_64.whl
      Collecting six>=1.0.0 (from pyarrow)
      Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
      Installing collected packages: numpy, six, pyarrow
      Successfully installed numpy-1.16.4 pyarrow-0.14.0 six-1.12.0
      $ python --version
      Python 3.7.3
      $ python -m pyarrow
      Traceback (most recent call last):
      File "/usr/lib64/python3.7/runpy.py", line 183, in _run_module_as_main
      mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
      File "/usr/lib64/python3.7/runpy.py", line 142, in _get_module_details
      return _get_module_details(pkg_main_name, error)
      File "/usr/lib64/python3.7/runpy.py", line 109, in _get_module_details
      __import__(pkg_name)
      File "/home/user/.virtualenvs/tmp-8a4d52e7bb62853/lib/python3.7/site-packages/pyarrow/__init__.py", line 49, in <module>
      from pyarrow.lib import cpu_count, set_cpu_count
      ImportError: libcrypt.so.1: cannot open shared object file: No such file or directory

      This is surprising because I have older versions of pyarrow (up to 0.13.0) working, and libcrypt on my system (Fedora 30, Python 3.7) is libcrypt.so.2!

      Attachments

        Activity

          People

            Unassigned Unassigned
            suvayu Suvayu Ali
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: