You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/06/22 10:06:00 UTC

[jira] [Updated] (ARROW-13108) Pyarrow 4.0.0 crashes upon import on macOS 10.13.6

     [ https://issues.apache.org/jira/browse/ARROW-13108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joris Van den Bossche updated ARROW-13108:
------------------------------------------
    Fix Version/s: 5.0.0

> Pyarrow 4.0.0 crashes upon import on macOS 10.13.6
> --------------------------------------------------
>
>                 Key: ARROW-13108
>                 URL: https://issues.apache.org/jira/browse/ARROW-13108
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 4.0.0, 4.0.1
>            Reporter: Mark Keller
>            Priority: Major
>             Fix For: 5.0.0
>
>
> Our Jenkins worker that we use for building `snowflake-connector-python` has the following setup:
>  
> {code:java}
> $ uname -a
> Darwin imac.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Jul  6 19:54:51 PDT 2018; root:xnu-4570.71.3~2/RELEASE_X86_64 x86_64
> $ python --version --version
> Python 3.6.8 (v3.6.8:3c6b436a57, Dec 24 2018, 02:04:31) 
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]
> $ pip list
> Package    Version
> ---------- -------
> Cython     0.29.23
> numpy      1.19.5
> pip        21.1.2
> pyarrow    4.0.0
> setuptools 57.0.0
> wheel      0.36.2
> {code}
> This is in a completely new venv.
> Then after installing these dependencies see the issue here:
> {code:java}
> $ python -c "import pyarrow"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/Users/Shared/Jenkins/Home/workspace/BuildPyConnector-Mac/venv-36/lib/python3.6/site-packages/pyarrow/__init__.py", line 63, in <module>
>     import pyarrow.lib as _lib
> ImportError: dlopen(/Users/Shared/Jenkins/Home/workspace/BuildPyConnector-Mac/venv-36/lib/python3.6/site-packages/pyarrow/lib.cpython-36m-darwin.so, 2): Symbol not found: ____chkstk_darwin
>   Referenced from: /Users/Shared/Jenkins/Home/workspace/BuildPyConnector-Mac/venv-36/lib/python3.6/site-packages/pyarrow/libarrow.400.dylib
>   Expected in: /usr/lib/libSystem.B.dylib
>  in /Users/Shared/Jenkins/Home/workspace/BuildPyConnector-Mac/venv-36/lib/python3.6/site-packages/pyarrow/libarrow.400.dylib
> {code}
> I'm sorry I'm not too sure what could be causing this, but please see what Uwe said here: [https://github.com/snowflakedb/snowflake-connector-python/pull/762#issuecomment-863531840]
>  
> I'd be happy to help you test a potential fix if you don't have a machine with such an old MacOS version
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)