[Python] ERROR: Failed building wheel for pyarrow
$ pip install pyarrow
Collecting pyarrow
Downloading pyarrow-11.0.0.tar.gz (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 273.8 kB/s eta 0:00:00
Installing build dependencies ... |
done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting numpy>=1.16.6
Downloading numpy-1.24.2.tar.gz (10.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.9/10.9 MB 607.5 kB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyarrow, numpy
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
╰─> [292 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/filesystem.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/serialization.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/flight.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/benchmark.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/plasma.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/substrait.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/jvm.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/pandas_compat.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/orc.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/fs.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/csv.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/cuda.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/cffi.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/conftest.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_generated_version.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/json.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_compute_docstrings.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/util.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/types.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/dataset.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/compute.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/feather.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/hdfs.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/__init__.py -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/ipc.py -> build/lib.linux-x86_64-cpython-310/pyarrow
creating build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_dataset.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_types.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_filesystem.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_cuda.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_orc.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/deserialize_buffer.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_pandas.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_gandiva.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_serialization.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_feather.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_plasma.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_cuda_numba_interop.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_cython.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_hdfs.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_array.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_io.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_scalars.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_extension_type.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_memory.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_deprecations.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_plasma_tf_op.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_compute.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_cpp_internals.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_strategies.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_jvm.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_sparse_tensor.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/conftest.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_schema.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_convert_builtin.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_gdb.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_serialization_deprecated.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_ipc.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_fs.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/pandas_examples.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/util.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_csv.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/strategies.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/read_record_batch.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_udf.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_misc.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_exec_plan.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_table.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_substrait.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_cffi.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_adhoc_memory_leak.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/pandas_threaded_import.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_json.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_util.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/arrow_7980.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_builder.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_flight.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/arrow_16597.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/test_tensor.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
creating build/lib.linux-x86_64-cpython-310/pyarrow/vendored
copying pyarrow/vendored/docscrape.py -> build/lib.linux-x86_64-cpython-310/pyarrow/vendored
copying pyarrow/vendored/version.py -> build/lib.linux-x86_64-cpython-310/pyarrow/vendored
copying pyarrow/vendored/__init__.py -> build/lib.linux-x86_64-cpython-310/pyarrow/vendored
creating build/lib.linux-x86_64-cpython-310/pyarrow/interchange
copying pyarrow/interchange/buffer.py -> build/lib.linux-x86_64-cpython-310/pyarrow/interchange
copying pyarrow/interchange/column.py -> build/lib.linux-x86_64-cpython-310/pyarrow/interchange
copying pyarrow/interchange/from_dataframe.py -> build/lib.linux-x86_64-cpython-310/pyarrow/interchange
copying pyarrow/interchange/__init__.py -> build/lib.linux-x86_64-cpython-310/pyarrow/interchange
copying pyarrow/interchange/dataframe.py -> build/lib.linux-x86_64-cpython-310/pyarrow/interchange
creating build/lib.linux-x86_64-cpython-310/pyarrow/parquet
copying pyarrow/parquet/core.py -> build/lib.linux-x86_64-cpython-310/pyarrow/parquet
copying pyarrow/parquet/encryption.py -> build/lib.linux-x86_64-cpython-310/pyarrow/parquet
copying pyarrow/parquet/__init__.py -> build/lib.linux-x86_64-cpython-310/pyarrow/parquet
creating build/lib.linux-x86_64-cpython-310/pyarrow/tests/interchange
copying pyarrow/tests/interchange/test_conversion.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/interchange
copying pyarrow/tests/interchange/test_interchange_spec.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/interchange
copying pyarrow/tests/interchange/__init__.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/interchange
creating build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_dataset.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_metadata.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_pandas.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_data_types.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_compliant_nested_type.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/common.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/conftest.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_encryption.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_basic.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/encryption.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_parquet_file.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_datetime.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/__init__.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_parquet_writer.py -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/parquet
running egg_info
writing pyarrow.egg-info/PKG-INFO
writing dependency_links to pyarrow.egg-info/dependency_links.txt
writing entry points to pyarrow.egg-info/entry_points.txt
writing requirements to pyarrow.egg-info/requires.txt
writing top-level names to pyarrow.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'pyarrow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '../LICENSE.txt'
warning: no files found matching '../NOTICE.txt'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '#*' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
no previously-included directories found matching '.asv'
writing manifest file 'pyarrow.egg-info/SOURCES.txt'
copying pyarrow/__init__.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_compute.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_compute.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_csv.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_csv.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_cuda.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_cuda.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_dataset.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_dataset.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_dataset_orc.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_dataset_parquet.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_exec_plan.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_feather.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_flight.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_fs.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_fs.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_gcsfs.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_hdfs.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_hdfsio.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_json.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_orc.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_orc.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_parquet.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_parquet.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_parquet_encryption.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_parquet_encryption.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_plasma.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_pyarrow_cpp_tests.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_pyarrow_cpp_tests.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_s3fs.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/_substrait.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/array.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/benchmark.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/builder.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/compat.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/config.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/error.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/gandiva.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/io.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/ipc.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/lib.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/lib.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/memory.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/pandas-shim.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/public-api.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/scalar.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/serialization.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/table.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/tensor.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
copying pyarrow/types.pxi -> build/lib.linux-x86_64-cpython-310/pyarrow
creating build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/__init__.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libarrow_dataset.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libarrow.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libarrow_cuda.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libarrow_fs.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libarrow_substrait.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/common.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libgandiva.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libplasma.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libarrow_dataset_parquet.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libarrow_python.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libarrow_feather.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
copying pyarrow/includes/libarrow_flight.pxd -> build/lib.linux-x86_64-cpython-310/pyarrow/includes
creating build/lib.linux-x86_64-cpython-310/pyarrow/tensorflow
copying pyarrow/tensorflow/plasma_op.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/tensorflow
copying pyarrow/tests/bound_function_visit_strings.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
copying pyarrow/tests/pyarrow_cython_example.pyx -> build/lib.linux-x86_64-cpython-310/pyarrow/tests
creating build/lib.linux-x86_64-cpython-310/pyarrow/src
creating build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow
creating build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/CMakeLists.txt -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/api.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/arrow_to_pandas.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/arrow_to_pandas.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/arrow_to_python_internal.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/benchmark.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/benchmark.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/common.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/common.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/csv.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/csv.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/datetime.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/datetime.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/decimal.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/decimal.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/deserialize.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/deserialize.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/extension_type.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/extension_type.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/filesystem.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/filesystem.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/flight.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/flight.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/gdb.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/gdb.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/helpers.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/helpers.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/inference.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/inference.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/init.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/init.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/io.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/io.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/ipc.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/ipc.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/iterators.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_convert.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_convert.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_internal.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_interop.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_to_arrow.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/numpy_to_arrow.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/parquet_encryption.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/parquet_encryption.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pch.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/platform.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pyarrow.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pyarrow.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pyarrow_api.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/pyarrow_lib.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/python_test.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/python_test.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/python_to_arrow.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/python_to_arrow.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/serialize.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/serialize.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/type_traits.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/udf.cc -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/udf.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
copying pyarrow/src/arrow/python/visibility.h -> build/lib.linux-x86_64-cpython-310/pyarrow/src/arrow/python
creating build/lib.linux-x86_64-cpython-310/pyarrow/tests/data
creating build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/feather
copying pyarrow/tests/data/feather/v0.17.0.version.2-compression.lz4.feather -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/feather
creating build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/README.md -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.jsn.gz -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.orc -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.jsn.gz -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.orc -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.jsn.gz -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.orc -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.jsn.gz -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.orc -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/orc
creating build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.all-named-index.parquet -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.column-metadata-handling.parquet -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.parquet -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.some-named-index.parquet -> build/lib.linux-x86_64-cpython-310/pyarrow/tests/data/parquet
running build_ext
creating /tmp/pip-install-xlefv161/pyarrow_f5b34280db0b4761a9c4fc405a0c2ded/build/temp.linux-x86_64-cpython-310
-- Running cmake for PyArrow
cmake -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-xlefv161/pyarrow_f5b34280db0b4761a9c4fc405a0c2ded/build/lib.linux-x86_64-cpython-310/pyarrow -DPYTHON_EXECUTABLE=/usr/local/bin/python -DPython3_EXECUTABLE=/usr/local/bin/python -DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off -DPYARROW_BUILD_PLASMA=off -DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_USE_TENSORFLOW=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_BOOST=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_BUNDLE_PLASMA_EXECUTABLE=on -DPYARROW_GENERATE_COVERAGE=off -DPYARROW_BOOST_USE_SHARED=on -DPYARROW_PARQUET_USE_SHARED=on -DCMAKE_BUILD_TYPE=release /tmp/pip-install-xlefv161/pyarrow_f5b34280db0b4761a9c4fc405a0c2ded
error: command 'cmake' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
@AlenkaF can you help on the above issue.
pip version pip 23.0.1 poetry --version poetry 1.4.0 python --version Python 3.10.2
Could you install CMake and try again?
error: command 'cmake' failed: No such file or directory
Just installing cmake will typically not be enough, you will also need to have Arrow C++ installed.
@kou I've installed pip install cmake but still not able to install pyarrow.
@jorisvandenbossche thanks for immediate response
[tool.poetry.dependencies] python = ">=3.8,<3.11" statsmodels = "^0.13.5" scikit-learn = "1.2.0" pandas = "^1.5.3" pmdarima = "^2.0.2" pydantic = "^1.10.5" statsforecast = "^1.5.0"
[tool.poetry.group.test.dependencies] pytest = "^7.2.1"
[build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"
I'm trying to create poetry.lock file from above the toml file; when I attempted to poetry install, pyarrow was not successful. I personally installed cmake after noticing that it was unable to locate it.
What OS are you using? If you are just trying to install a released version of pyarrow, ideally you get a binary wheel, but it seems it is installing from a source sdist (and that requires a whole of set of additional non-python dependencies, so that is not expected to work out of the box). But normally it should download a wheel, and will only fallback to a source archive if there is no wheel available compatible with your platform.
I'm using below mentioned image into the docker container.
Image Name - python-build-3.10.2-alpine3.15:3.0.7 Docker Desktop 4.17.1 (101757)
having this issue all of a sudden...there a solution, workaround?
You might be using Python 3.12? In that case, there are no wheels yet for pyarrow for Python 3.12, the solution is to wait a month with using Python 3.12.
You might be using Python 3.12? In that case, there are no wheels yet for pyarrow for Python 3.12, the solution is to wait a month with using Python 3.12.
yes that's correct. confirmed by rolling back to python 3.11
https://stackoverflow.com/questions/77318492/building-wheel-for-pyarrow-pyproject-toml-did-not-run-successfully
There's a similar problem now with Python 3.13. In my opinion building from the sdist should be an option even if the new Python is not officially supported.
Going to close this issue, as it was worked around by waiting on the wheel (building fro source requires more manual steps).
There's a similar problem now with Python 3.13
I opened an issue to start tracking providing wheels for Python 3.13: https://github.com/apache/arrow/issues/43519
(ideally we would indeed improve the building from source/sdist, but that's a more general issue. One issue about improving the error reporting in those cases: https://github.com/apache/arrow/issues/37926)