[
https://issues.apache.org/jira/browse/ARROW-13108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370774#comment-17370774
]
Mark Keller commented on ARROW-13108:
-------------------------------------
There's no need, I have access to 3.7 on this machine. This seems to be working.
{code:java}
(venv-37) 2021-06-28 19:13:57 jenkins@imac ~/workspace/BuildPyConnector-Mac>pip
install -U pip setuptools
Collecting pip
Using cached
https://files.pythonhosted.org/packages/47/ca/f0d790b6e18b3a6f3bd5e80c2ee4edbb5807286c21cdd0862ca933f751dd/pip-21.1.3-py3-none-any.whl
Collecting setuptools
Using cached
https://files.pythonhosted.org/packages/4e/78/56aa1b5f4d8ac548755ae767d84f0be54fdd9d404197a3d9e4659d272348/setuptools-57.0.0-py3-none-any.whl
Installing collected packages: pip, setuptools
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
wget Found existing installation: setuptools 40.6.2
Uninstalling setuptools-40.6.2:
Successfully uninstalled setuptools-40.6.2
Successfully installed pip-21.1.3 setuptools-57.0.0
(venv-37) 2021-06-28 19:14:23 jenkins@imac ~/workspace/BuildPyConnector-Mac>pip
install
https://github.com/ursacomputing/crossbow/releases/download/build-417-github-wheel-osx-high-sierra-cp37/pyarrow-5.0.0.dev324-cp37-cp37m-macosx_10_13_x86_64.whl
Collecting pyarrow==5.0.0.dev324
Downloading
https://github.com/ursacomputing/crossbow/releases/download/build-417-github-wheel-osx-high-sierra-cp37/pyarrow-5.0.0.dev324-cp37-cp37m-macosx_10_13_x86_64.whl
(16.9 MB)
|████████████████████████████████| 16.9 MB 11.3 MB/s
Collecting numpy>=1.16.6
Using cached numpy-1.21.0-cp37-cp37m-macosx_10_9_x86_64.whl (16.8 MB)
Installing collected packages: numpy, pyarrow
Successfully installed numpy-1.21.0 pyarrow-5.0.0.dev324
(venv-37) 2021-06-28 19:14:53 jenkins@imac
~/workspace/BuildPyConnector-Mac>python --version --version
Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43)
[Clang 6.0 (clang-600.0.57)]
(venv-37) 2021-06-28 19:15:02 jenkins@imac
~/workspace/BuildPyConnector-Mac>python
Python 3.7.2 (v3.7.2:9a3ffc0492, Dec 24 2018, 02:44:43)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyarrow
>>>
{code}
> [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
> Labels: pull-request-available
> Fix For: 5.0.0
>
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> 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)