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

[jira] [Comment Edited] (ARROW-13108) [Python] 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:comment-tabpanel&focusedCommentId=17368271#comment-17368271 ] 

Krisztian Szucs edited comment on ARROW-13108 at 6/23/21, 3:21 PM:
-------------------------------------------------------------------

[~uwe] Where is that log? The intention was to provide [two kinds of wheels for different macOS targets|https://github.com/apache/arrow/blob/master/dev/tasks/tasks.yml#L354-L355] by setting {{MACOS_DEPLOYMENT_TARGET}} (see the [platform tags on pypi|https://pypi.org/project/pyarrow/#files]), though we may [use the latest SDK|https://github.com/apache/arrow/blob/master/ci/scripts/python_wheel_macos_build.sh#L38] in both cases (need to check the build logs).


was (Author: kszucs):
[~uwe] Where is that log? The intention was to provide [two kinds of wheels for different macOS targets|https://github.com/apache/arrow/blob/master/dev/tasks/tasks.yml#L354-L355] by setting {{MACOS_DEPLOYMENT_TARGET}}, though we may [use the latest SDK|https://github.com/apache/arrow/blob/master/ci/scripts/python_wheel_macos_build.sh#L38] in both cases (need to check the build logs).

> [Python] 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)