zeroRains opened a new issue, #43580:
URL: https://github.com/apache/arrow/issues/43580

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   I try to compile the arrow in c++ and python  from source code (v16.1.0).  
Follow are my compile command
   
   ```shell
   cd cpp
   cmake -DARROW_CSV=ON -DARROW_JSON=ON -DARROW_FILESYSTEM=ON  ..
   make -j32 && make install
   
   cd ../python
   PYARROW_WITH_COMPUTE=1 PYARROW_PARALLEL=32 PYARROW_WITH_CSV=1 
PYARROW_WITH_JSON=1 PYARROW_WITH_FILESYSTEM=1 python setup.py build_ext 
--bundle-arrow-cpp bdist_wheel
   cd dist
   pip install  pyarrow-16.1.0-cp39-cp39-linux_x86_64.whl
   ```
     
   The error is follow: 
   
   >>> import pyarrow as pa
   >>> arr = pa.array([1,2,3])
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "pyarrow/array.pxi", line 260, in pyarrow.lib.array
     File "pyarrow/array.pxi", line 55, in pyarrow.lib._is_array_like
     File "pyarrow/pandas-shim.pxi", line 124, in 
pyarrow.lib._PandasAPIShim._have_pandas_internal
     File "pyarrow/pandas-shim.pxi", line 103, in 
pyarrow.lib._PandasAPIShim._check_import
     File "pyarrow/pandas-shim.pxi", line 106, in 
pyarrow.lib._PandasAPIShim._check_import
     File "pyarrow/pandas-shim.pxi", line 50, in 
pyarrow.lib._PandasAPIShim._import_pandas
     File 
"/root/miniconda3/envs/duckdb/lib/python3.9/site-packages/pandas/__init__.py", 
line 49, in <module>
       from pandas.core.api import (
     File 
"/root/miniconda3/envs/duckdb/lib/python3.9/site-packages/pandas/core/api.py", 
line 28, in <module>
       from pandas.core.arrays import Categorical
     File 
"/root/miniconda3/envs/duckdb/lib/python3.9/site-packages/pandas/core/arrays/__init__.py",
 line 1, in <module>
       from pandas.core.arrays.arrow import ArrowExtensionArray
     File 
"/root/miniconda3/envs/duckdb/lib/python3.9/site-packages/pandas/core/arrays/arrow/__init__.py",
 line 5, in <module>
       from pandas.core.arrays.arrow.array import ArrowExtensionArray
     File 
"/root/miniconda3/envs/duckdb/lib/python3.9/site-packages/pandas/core/arrays/arrow/array.py",
 line 84, in <module>
       "eq": pc.equal,
   AttributeError: module 'pyarrow.compute' has no attribute 'equal'
   
   How to solve it?
   
   ### Component(s)
   
   C++, 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]

Reply via email to