gpt4 book ai didi

python-3.x - 无法构建 pyarrow(对于 python 3.7),错误消息为 ERROR : Could not build wheels for pyarrow which use PEP 517

转载 作者:行者123 更新时间:2023-12-04 10:12:32 28 4
gpt4 key购买 nike

我正在尝试在我的虚拟环境中安装 apache-beam[gcp]。

     My python version is 3.7
My pip3 version is 20.0.2

什么时候尝试安装(不使用 sudo)并运行以下命令:-

    pip3 install apache-beam[gcp]

我从 pyarrow 社区找到了一条关于 python 3.8 (ARROW-7076) 类似错误的说明,但 3.7 没有。当我遇到困难时,我将不胜感激!

看起来这个问题在 apache jira 仪表板 (AIRAVATA-3305) 上打开

  https://issues.apache.org/jira/browse/AIRAVATA-3305? 
jql=text%20~%20%22pip%20install%20python%203.7%22

添加完整的错误消息(现在以 root 身份运行它,但得到相同的错误消息):

  copying pyarrow/include/arrow/io/hdfs.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/io
copying pyarrow/include/arrow/io/interfaces.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/io
copying pyarrow/include/arrow/io/memory.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/io
copying pyarrow/include/arrow/io/mman.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/io
copying pyarrow/include/arrow/io/slow.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/io
copying pyarrow/include/arrow/io/test_common.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/io
creating build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/api.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/dictionary.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/feather.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/json_integration.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/json_simple.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/message.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/options.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/reader.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/test_common.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
copying pyarrow/include/arrow/ipc/writer.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/ipc
creating build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
copying pyarrow/include/arrow/json/api.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
copying pyarrow/include/arrow/json/chunked_builder.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
copying pyarrow/include/arrow/json/chunker.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
copying pyarrow/include/arrow/json/converter.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
copying pyarrow/include/arrow/json/options.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
copying pyarrow/include/arrow/json/parser.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
copying pyarrow/include/arrow/json/rapidjson_defs.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
copying pyarrow/include/arrow/json/reader.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
copying pyarrow/include/arrow/json/test_common.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/json
creating build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/api.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/arrow_to_pandas.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/benchmark.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/common.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/config.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/datetime.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/decimal.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/deserialize.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/extension_type.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/flight.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/helpers.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/inference.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/init.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/io.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/iterators.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/numpy_convert.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/numpy_interop.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/numpy_to_arrow.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/platform.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/pyarrow.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/pyarrow_api.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/pyarrow_lib.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/python_to_arrow.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/serialize.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/type_traits.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
copying pyarrow/include/arrow/python/visibility.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/python
creating build/lib.linux-aarch64-3.6/pyarrow/include/arrow/testing
copying pyarrow/include/arrow/testing/extension_type.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/testing
copying pyarrow/include/arrow/testing/generator.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/testing
copying pyarrow/include/arrow/testing/gtest_common.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/testing
copying pyarrow/include/arrow/testing/gtest_util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/testing
copying pyarrow/include/arrow/testing/random.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/testing
copying pyarrow/include/arrow/testing/util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/testing
creating build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/align_util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/atomic_shared_ptr.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/base64.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/basic_decimal.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/bit_stream_utils.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/bit_util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/bpacking.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/checked_cast.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/compare.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/compiler_util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/compression.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/compression_brotli.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/compression_bz2.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/compression_lz4.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/compression_snappy.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/compression_zlib.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/compression_zstd.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/config.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/cpu_info.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/decimal.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/delimiting.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/double_conversion.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/formatting.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/functional.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/hash_util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/hashing.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/int_util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/io_util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/iterator.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/key_value_metadata.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/logging.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/macros.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/make_unique.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/memory.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/neon_util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/optional.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/parallel.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/parsing.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/print.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/range.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/rle_encoding.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/sort.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/sse_util.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/stopwatch.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/string.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/string_builder.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/string_view.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/task_group.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/thread_pool.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/time.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/trie.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/type_traits.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/ubsan.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/uri.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/utf8.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/variant.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/vector.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/visibility.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
copying pyarrow/include/arrow/util/windows_compatibility.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/util
creating build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored
copying pyarrow/include/arrow/vendored/datetime.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored
copying pyarrow/include/arrow/vendored/optional.hpp -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored
copying pyarrow/include/arrow/vendored/string_view.hpp -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored
copying pyarrow/include/arrow/vendored/variant.hpp -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored
copying pyarrow/include/arrow/vendored/xxhash.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored
creating build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/datetime
copying pyarrow/include/arrow/vendored/datetime/date.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/datetime
copying pyarrow/include/arrow/vendored/datetime/ios.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/datetime
copying pyarrow/include/arrow/vendored/datetime/tz.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/datetime
copying pyarrow/include/arrow/vendored/datetime/tz_private.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/datetime
copying pyarrow/include/arrow/vendored/datetime/visibility.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/datetime
creating build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/bignum-dtoa.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/bignum.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/cached-powers.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/diy-fp.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/double-conversion.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/fast-dtoa.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/fixed-dtoa.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/ieee.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/strtod.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
copying pyarrow/include/arrow/vendored/double-conversion/utils.h -> build/lib.linux-aarch64-3.6/pyarrow/include/arrow/vendored/double-conversion
creating build/lib.linux-aarch64-3.6/pyarrow/includes
copying pyarrow/includes/__init__.pxd -> build/lib.linux-aarch64-3.6/pyarrow/includes
copying pyarrow/includes/common.pxd -> build/lib.linux-aarch64-3.6/pyarrow/includes
copying pyarrow/includes/libarrow.pxd -> build/lib.linux-aarch64-3.6/pyarrow/includes
copying pyarrow/includes/libarrow_cuda.pxd -> build/lib.linux-aarch64-3.6/pyarrow/includes
copying pyarrow/includes/libarrow_dataset.pxd -> build/lib.linux-aarch64-3.6/pyarrow/includes
copying pyarrow/includes/libarrow_flight.pxd -> build/lib.linux-aarch64-3.6/pyarrow/includes
copying pyarrow/includes/libarrow_fs.pxd -> build/lib.linux-aarch64-3.6/pyarrow/includes
copying pyarrow/includes/libgandiva.pxd -> build/lib.linux-aarch64-3.6/pyarrow/includes
copying pyarrow/includes/libplasma.pxd -> build/lib.linux-aarch64-3.6/pyarrow/includes
creating build/lib.linux-aarch64-3.6/pyarrow/tensorflow
copying pyarrow/tensorflow/plasma_op.cc -> build/lib.linux-aarch64-3.6/pyarrow/tensorflow
creating build/lib.linux-aarch64-3.6/pyarrow/tensorflow/plasma_op.so.dSYM
creating build/lib.linux-aarch64-3.6/pyarrow/tensorflow/plasma_op.so.dSYM/Contents
copying pyarrow/tensorflow/plasma_op.so.dSYM/Contents/Info.plist -> build/lib.linux-aarch64-3.6/pyarrow/tensorflow/plasma_op.so.dSYM/Contents
copying pyarrow/tests/pyarrow_cython_example.pyx -> build/lib.linux-aarch64-3.6/pyarrow/tests
creating build/lib.linux-aarch64-3.6/pyarrow/tests/data
creating build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/README.md -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.jsn.gz -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.orc -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.jsn.gz -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.orc -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.jsn.gz -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.orc -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.jsn.gz -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.orc -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/orc
creating build/lib.linux-aarch64-3.6/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.all-named-index.parquet -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.column-metadata-handling.parquet -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.parquet -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.some-named-index.parquet -> build/lib.linux-aarch64-3.6/pyarrow/tests/data/parquet
running build_ext
creating /tmp/pip-install-jar_d6v5/pyarrow/build/temp.linux-aarch64-3.6
-- Running cmake for pyarrow
cmake -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PLASMA=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_USE_TENSORFLOW=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_BOOST=off -DPYARROW_GENERATE_COVERAGE=off -DPYARROW_BOOST_USE_SHARED=on -DPYARROW_PARQUET_USE_SHARED=on -DCMAKE_BUILD_TYPE=release /tmp/pip-install-jar_d6v5/pyarrow
error: command 'cmake' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyarrow
Building wheel for google-apitools (setup.py) ... done
Created wheel for google-apitools: filename=google_apitools-0.5.28-py3-none-any.whl size=131642 sha256=53006fe1611f352b29680065003fd0568a63aa046b676bd54bf3780743ffaedd
Stored in directory: /root/.cache/pip/wheels/49/56/1c/73a513e437099b768ededdcb95106a58f5cdd048fb27ff640b
Building wheel for docopt (setup.py) ... done
Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=19852 sha256=99e8eed8943e34a2bf2457d3a6f7f269e95eafa9386d2f0766c32d881fb1df40
Stored in directory: /root/.cache/pip/wheels/3f/2a/fa/4d7a888e69774d5e6e855d190a8a51b357d77cc05eb1c097c9
Building wheel for grpc-google-iam-v1 (setup.py) ... done
Created wheel for grpc-google-iam-v1: filename=grpc_google_iam_v1-0.12.3-py3-none-any.whl size=15434 sha256=bd5259daf0a66e2a34afac785bb7177d843166633433393cb1907740528f4b3f
Stored in directory: /root/.cache/pip/wheels/76/65/cd/392da05e43270f143b6c5076ba88d39144abff586792593e7c
Building wheel for googleapis-common-protos (setup.py) ... done
Created wheel for googleapis-common-protos: filename=googleapis_common_protos-1.51.0-py3-none-any.whl size=74527 sha256=bb94fa9ac3db45115fd71380b4ca671c7d1074d75a9a8eb25e93148843ba63c9
Stored in directory: /root/.cache/pip/wheels/35/8d/af/a922cb18800b31fadac3523cadf6c1efdf233b788fe7a4da70
Successfully built apache-beam crcmod dill fastavro future hdfs avro-python3 google-apitools docopt grpc-google-iam-v1 googleapis-common-protos
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly

最佳答案

pyarrow 可作为 Python 3.7 的 manylinux2010 使用,根本不需要在 Linux 上进行任何编译。有两种可能会阻止 pip 使用 manylinux 轮:

  • 您的 pip 版本太旧,无法识别新的 manylinux 标签,尝试将 pip 更新到最新版本。
  • 您是 Alpine Linux 的用户,它使用不同的 libc 实现,因此默认情况下不支持 manylinux wheel。

您还可以安装必要的编译要求,如 cmakeboost,..但这比弄清楚为什么 pip 没有安装相应的轮子。

关于python-3.x - 无法构建 pyarrow(对于 python 3.7),错误消息为 ERROR : Could not build wheels for pyarrow which use PEP 517,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61259496/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com