You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Suvayu Ali (JIRA)" <ji...@apache.org> on 2019/07/08 03:44:00 UTC

[jira] [Created] (ARROW-5871) Can't import pyarrow 0.14.0 due to mismatching libcrypt

Suvayu Ali created ARROW-5871:
---------------------------------

             Summary: Can't import pyarrow 0.14.0 due to mismatching libcrypt
                 Key: ARROW-5871
                 URL: https://issues.apache.org/jira/browse/ARROW-5871
             Project: Apache Arrow
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 0.14.0
         Environment: 5.1.16-300.fc30.x86_64
Python 3.7.3
libxcrypt-4.4.6-2.fc30.x86_64
            Reporter: Suvayu Ali


In a freshly created virtual environment, after I install pyarrow 0.14.0 (using pip), importing pyarrow from the python prompt leads to crash:
{code:java}
$ 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/jallad/.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{code}
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!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)