Thanks Micah,

I was browsing JIRA the other day but i didn't found anything related to M1
yet, I'm gonna continue searching but if you can point me out to something
you found that would be appreciated.

Thanks Again

- Mathieu

On Fri, Nov 5, 2021 at 8:33 PM Micah Kornfield <[email protected]>
wrote:

> Hi Mathieu,
> I don't have much experience here, but I think there were a few JIRA work
> items that had to be done to get Arrow compiling on an M1, you might try
> searching JIRA to see if these provide any clues.
>
> -Micah
>
> On Fri, Oct 15, 2021 at 10:29 PM Mathieu Leduc-Hamel <
> [email protected]> wrote:
>
>> Hi, I'm working on beam which is currently not supporting the latest
>> release of Arrow (6.x.) and I'm trying to build the required packages on
>> Apple M1.
>>
>> Currently when building the python package `pyarrow` like this:
>> ```
>> python setup.py build_ext --build-type=release --bundle-arrow-cpp
>> --bundle-arrow-cpp-headers --bundle-cython-cpp --cython-cplus
>> --bundle-boost  --with-static-boost --extra-cmake-args=boost-python3
>> --boost-namespace=boost-python3 bdist_wheel
>> ```
>>
>> I've got a package but when I'm installing it and trying on real use case
>> which simply import pyarrow I've got the following error:
>>
>> ```
>>     import pyarrow.lib as _lib
>> E   ImportError:
>> dlopen(/Users/mlhamel/src/github/metrio/jupyter/metrics-sdk/.venv/lib/python3.8/site-packages/pyarrow/
>> lib.cpython-38-darwin.so, 2): Symbol not found: __Py_FatalErrorFunc
>> E     Referenced from:
>> /Users/mlhamel/src/github/metrio/jupyter/metrics-sdk/.venv/lib/python3.8/site-packages/pyarrow/libarrow_python.400.dylib
>> E     Expected in: flat namespace
>> E    in
>> /Users/mlhamel/src/github/metrio/jupyter/metrics-sdk/.venv/lib/python3.8/site-packages/pyarrow/libarrow_python.400.dylib
>> ```
>>
>> I tried embedding statically both parquet and boost python but it's still
>> faling.
>>
>> Any idea where i can explore?
>>
>

Reply via email to