Re: python module pyarrow.compute is not found

2020-11-27 Thread Wes McKinney
On Fri, Nov 27, 2020 at 10:42 AM Kirill Lykov wrote: > > ARROW_COMPUTE was enabled because ARROW_PYTHON was enabled (I double > checked). > And sanity check helped -- I should be in python folder, not in the root > folder of arrow repo, thanks! > > I wonder if there a way to detect if compute modu

Re: python module pyarrow.compute is not found

2020-11-27 Thread Vibhatha Abeykoon
In my experience, if we turn on DARROW_PYTHON and DARROW_COMPUTE to ON and do build from source and then just build the wheel from the source would install the libarrow_python.so and within the site-packages for Pyarrow you can also get the compute*.so as well. If you used a virtual environment mak

Re: python module pyarrow.compute is not found

2020-11-27 Thread Kirill Lykov
ARROW_COMPUTE was enabled because ARROW_PYTHON was enabled (I double checked). And sanity check helped -- I should be in python folder, not in the root folder of arrow repo, thanks! I wonder if there a way to detect if compute module is present by looking into *.so files. Because at our internal e

Re: python module pyarrow.compute is not found

2020-11-26 Thread Niklas Bivald
Sanity check, you aren’t standing in a folder which has a folder named “pyarrow” in it from the build? Do you get the same error if you move to your home folder and install the wheel? On Thu, 26 Nov 2020 at 18:18, Antoine Pitrou wrote: > > Did you enable ARROW_COMPUTE=ON when building Arrow C++

Re: python module pyarrow.compute is not found

2020-11-26 Thread Antoine Pitrou
Did you enable ARROW_COMPUTE=ON when building Arrow C++? Le 26/11/2020 à 18:07, Kirill Lykov a écrit : > I followed, as usual, the build procedure described there -- > https://arrow.apache.org/docs/developers/python.html > With `ARROW_PARQUET=OFF, ARROW_GANDIVA=ON` and `--inplace` option > > T

Re: python module pyarrow.compute is not found

2020-11-26 Thread Kirill Lykov
I followed, as usual, the build procedure described there -- https://arrow.apache.org/docs/developers/python.html With `ARROW_PARQUET=OFF, ARROW_GANDIVA=ON` and `--inplace` option Traceback as the following: Python 3.8.5 (default, Jul 21 2020, 10:42:08) [Clang 11.0.0 (clang-1100.0.33.17)] on darw

Re: python module pyarrow.compute is not found

2020-11-26 Thread Antoine Pitrou
Hi Kirill, Can you post the full traceback? Le 26/11/2020 à 17:21, Kirill Lykov a écrit : > Hi, > > I've build arrow and python integration. > There is file `pyarrow/_compute.cpython-38-darwin.so`. > But when I try import pyarrow.compute I get error that the module is not > found. > Do I miss