gbelouze opened a new issue, #44244:
URL: https://github.com/apache/arrow/issues/44244
### Describe the bug, including details regarding any error messages,
version, and platform.
Not sure where the issue is coming from. Don't think this matters but this
is tested inside a `conda` environment. I also reproduced inside a venv managed
by `uv`.
# Issue
```bash
$ pip install pyarrow
# no problem
$ python -c "import pyarrow"
# no problem
```
BUT
```bash
$ brew install apache-arrow
$ pip install pyarrow
# no problem
$ python -c "import pyarrow"
ImportError:
dlopen(/opt/homebrew/Caskroom/miniconda/base/envs/test/lib/python3.12/site-packages/pyarrow/lib.cpython-312-darwin.so,
0x0002): Symbol not found:
__ZN6google8protobuf11safe_strtobENS0_20stringpiece_internal11StringPieceEPb
Referenced from: <99FF4B65-BC25-31C0-9721-25CEAF38A760>
/opt/homebrew/Caskroom/miniconda/base/envs/test/lib/python3.12/site-packages/pyarrow/libarrow_substrait.1700.dylib
Expected in: <CD906312-0048-3845-816B-F382564EB23E>
/opt/homebrew/Cellar/apache-arrow/17.0.0_2/lib/libarrow.1700.0.0.dylib
$ brew uninstall apach-arrow
$ python -c "import pyarrow"
# no problem
```
On MacOS Sonoma 14.6 (M3 Silicon). Python version is 3.12 and pyarrow
version is 17.0.0.
Any help is appreciated !
### Component(s)
Python
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]