You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug, including details regarding any error messages, version, and platform.
Settings
Python: Python 3.7.17 (yes, I know this is no longer officially supported)
OS: Mac OS Sonoma [14.1.2 (23B92)]
Processor: m1
I did brew install cmake
I did brew install apache-arrow
pyarrow version: 12.0.1
pandas version: 1.3.5
Logs
...
import pandas as pd
/Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pandas/__init__.py:50: in <module>
from pandas.core.api import (
/Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pandas/core/api.py:29: in <module>
from pandas.core.arrays import Categorical
/Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pandas/core/arrays/__init__.py:20: in <module>
from pandas.core.arrays.string_arrow import ArrowStringArray
/Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pandas/core/arrays/string_arrow.py:65: in <module>
import pyarrow.compute as pc
/Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pyarrow/compute.py:331: in <module>
_make_global_functions()
/Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pyarrow/compute.py:328: in _make_global_functions
g[cpp_name] = g[name] = _wrap_function(name, func)
/Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pyarrow/compute.py:287: in _wrap_function
options_class = _get_options_class(func)
/Users/me/Library/Caches/pypoetry/virtualenvs/myproj-kIMGt_mS-py3.7/lib/python3.7/site-packages/pyarrow/compute.py:207: in _get_options_class
.format(class_name), RuntimeWarning)
E RuntimeWarning: Python binding for CumulativeOptions not exposed
Component(s)
Python
The text was updated successfully, but these errors were encountered:
If you are installing apache-arrow from brew you'll be installing 14.0.1 instead of 12.0.1. CumulativeOptions was added on 13.0.0 it will not be present on 12.0.1: #32190
I think you have several options. Build and install Apache Arrow CPP from the 12.0.1 released sources to have a compatible Arrow CPP or update pyarrow to 13.0.0 or newer.
It's been a while since I've come across this issue.
Wouldn't it be possible to install a specific version of apache-arrow with brew (like you could do with pip)? I think the problem is installing from source. This can sometimes be problematic or tedious because you have to follow several steps. Btw, can you please provide the link to these steps?
Thanks for the suggestion @nbro10 . Allowing to install several versions from brew would require some extra maintenance effort but is indeed something that could be explored. I think this could be opened on a different issue with the suggestion.
As per building from source the documentation can be found here: https://arrow.apache.org/docs/developers/cpp/building.html
Describe the bug, including details regarding any error messages, version, and platform.
Settings
brew install cmake
brew install apache-arrow
Logs
Component(s)
Python
The text was updated successfully, but these errors were encountered: