It's been a while so forgive if this is wrong section.
I've been trying to install pyarrow with
But I get following error:
I couldn't find the solution online.
If anyone tried building this and has a solution, I'd be more than grateful.
Thanks.
I've been trying to install pyarrow with
pip install pyarrow
But I get following error:
Code:
$ pip install pyarrow --user
Collecting pyarrow
Using cached pyarrow-12.0.0.tar.gz (1.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.16.6 in /usr/home/nconf/.local/lib/python3.9/site-packages (from pyarrow) (1.23.4)
Building wheels for collected packages: pyarrow
Building wheel for pyarrow (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyarrow (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [330 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow
copying pyarrow/__init__.py -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow
copying pyarrow/memory.pxi -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow
copying pyarrow/pandas-shim.pxi -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow
copying pyarrow/public-api.pxi -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow
copying pyarrow/scalar.pxi -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow
copying pyarrow/table.pxi -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow
copying pyarrow/tensor.pxi -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow
copying pyarrow/types.pxi -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/__init__.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/common.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow_acero.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow_cuda.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow_dataset.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow_dataset_parquet.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow_feather.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow_flight.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow_fs.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow_python.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libarrow_substrait.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/includes/libgandiva.pxd -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/includes
copying pyarrow/tests/bound_function_visit_strings.pyx -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests
copying pyarrow/tests/extensions.pyx -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests
copying pyarrow/tests/pyarrow_cython_example.pyx -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/CMakeLists.txt -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/api.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/arrow_to_pandas.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/arrow_to_pandas.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/arrow_to_python_internal.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/benchmark.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/benchmark.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/common.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/common.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/csv.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/csv.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/datetime.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/datetime.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/decimal.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/decimal.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/deserialize.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/deserialize.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/extension_type.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/extension_type.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/filesystem.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/filesystem.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/flight.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/flight.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/gdb.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/gdb.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/helpers.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/helpers.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/inference.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/inference.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/init.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/init.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/io.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/io.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/ipc.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/ipc.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/iterators.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_convert.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_convert.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_internal.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_interop.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_to_arrow.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_to_arrow.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/parquet_encryption.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/parquet_encryption.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pch.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/platform.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pyarrow.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pyarrow.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pyarrow_api.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pyarrow_lib.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/python_test.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/python_test.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/python_to_arrow.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/python_to_arrow.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/serialize.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/serialize.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/type_traits.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/udf.cc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/udf.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/visibility.h -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/src/arrow/python
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/feather
copying pyarrow/tests/data/feather/v0.17.0.version.2-compression.lz4.feather -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/feather
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/README.md -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.jsn.gz -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.orc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.jsn.gz -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.orc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.jsn.gz -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.orc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.jsn.gz -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.orc -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/orc
creating build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.all-named-index.parquet -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.column-metadata-handling.parquet -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.parquet -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.some-named-index.parquet -> build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow/tests/data/parquet
running build_ext
creating /tmp/pip-install-fao7pigj/pyarrow_cf63b59ccead47bdb405805cb48d1c47/build/temp.freebsd-13.1-RELEASE-p2-amd64-cpython-39
-- Running cmake for PyArrow
cmake -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-fao7pigj/pyarrow_cf63b59ccead47bdb405805cb48d1c47/build/lib.freebsd-13.1-RELEASE-p2-amd64-cpython-39/pyarrow -DPYTHON_EXECUTABLE=/usr/local/bin/python3.9 -DPython3_EXECUTABLE=/usr/local/bin/python3.9 -DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off -DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release /tmp/pip-install-fao7pigj/pyarrow_cf63b59ccead47bdb405805cb48d1c47
-- The C compiler identification is Clang 13.0.0
-- The CXX compiler identification is Clang 13.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- System processor: amd64
-- Performing Test CXX_SUPPORTS_SSE4_2
-- Performing Test CXX_SUPPORTS_SSE4_2 - Success
-- Performing Test CXX_SUPPORTS_AVX2
-- Performing Test CXX_SUPPORTS_AVX2 - Success
-- Performing Test CXX_SUPPORTS_AVX512
-- Performing Test CXX_SUPPORTS_AVX512 - Success
-- Arrow build warning level: PRODUCTION
-- Using ld linker
-- Build Type: RELEASE
-- CMAKE_C_FLAGS: -Wall -Wno-unknown-warning-option -Wno-pass-failed -msse4.2 -Qunused-arguments -fcolor-diagnostics -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-missing-declarations -Wno-sometimes-uninitialized -Wno-return-type-c-linkage
-- CMAKE_CXX_FLAGS: -Wall -Wno-unknown-warning-option -Wno-pass-failed -msse4.2 -Qunused-arguments -fcolor-diagnostics -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-missing-declarations -Wno-sometimes-uninitialized -Wno-return-type-c-linkage
-- Generator: Unix Makefiles
-- Build output directory: /tmp/pip-install-fao7pigj/pyarrow_cf63b59ccead47bdb405805cb48d1c47/build/temp.freebsd-13.1-RELEASE-p2-amd64-cpython-39/release
-- Found Python3: /usr/local/bin/python3.9 (found version "3.9.16") found components: Interpreter Development.Module NumPy
-- Found Python3Alt: /usr/local/bin/python3.9
CMake Error at CMakeLists.txt:261 (find_package):
By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Arrow", but
CMake did not find one.
Could not find a package configuration file provided by "Arrow" with any of
the following names:
ArrowConfig.cmake
arrow-config.cmake
Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set
"Arrow_DIR" to a directory containing one of the above files. If "Arrow"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-fao7pigj/pyarrow_cf63b59ccead47bdb405805cb48d1c47/build/temp.freebsd-13.1-RELEASE-p2-amd64-cpython-39/CMakeFiles/CMakeOutput.log".
error: command '/usr/local/bin/cmake' failed with exit code 1
I couldn't find the solution online.
If anyone tried building this and has a solution, I'd be more than grateful.
Thanks.