Installation fails when installing pyarrow: command 'cmake' failed with exit status 1
See original GitHub issueSummary
Installation fails on MacOS Big Sur when poetry tries to install pyarrow
Using python 3.7.9 (pyenv) and poetry
If it helps, here is the output:
$ poetry install
Installing dependencies from lock file
Package operations: 14 installs, 0 updates, 0 removals
- Installing pyarrow (3.0.0)
EnvCommandError
Command ['/Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/pip', 'install', '--no-deps', 'pyarrow==3.0.0'] errored with the following return code 1, and output:
Collecting pyarrow==3.0.0
Using cached pyarrow-3.0.0.tar.gz (682 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Building wheels for collected packages: pyarrow
Building wheel for pyarrow (PEP 517): started
Building wheel for pyarrow (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/python /Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/6x/w0jxql4n42j1wvxzzncjw2480000gn/T/tmpyd7ik_74
cwd: /private/var/folders/6x/w0jxql4n42j1wvxzzncjw2480000gn/T/pip-install-vstsc1zi/pyarrow
Complete output (183 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.1-x86_64-3.7
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/orc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_generated_version.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/compat.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/benchmark.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/parquet.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/ipc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/util.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/flight.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/cffi.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/filesystem.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/__init__.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/plasma.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/types.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/dataset.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/cuda.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/feather.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/pandas_compat.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/fs.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/csv.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/jvm.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/hdfs.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/json.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/serialization.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/compute.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_tensor.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_ipc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/conftest.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_convert_builtin.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_misc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_gandiva.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/strategies.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_adhoc_memory_leak.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/arrow_7980.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/util.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_orc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_table.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_array.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_deprecations.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_serialization_deprecated.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/__init__.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_io.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_cuda_numba_interop.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_cffi.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_schema.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_jvm.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_plasma_tf_op.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_fs.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_filesystem.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/pandas_threaded_import.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/pandas_examples.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_cython.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_sparse_tensor.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_dataset.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_builder.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_cuda.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_extension_type.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_feather.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_pandas.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_memory.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_flight.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_json.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_serialization.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_compute.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_hdfs.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/deserialize_buffer.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_strategies.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_csv.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_plasma.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_scalars.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_types.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
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
warning: Failed to find the configured license file '../LICENSE.txt'
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.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_compute.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_compute.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_csv.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_csv.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_cuda.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_cuda.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_dataset.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_flight.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_fs.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_fs.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_hdfs.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_json.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_orc.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_orc.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_parquet.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_parquet.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_plasma.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_s3fs.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/array.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/benchmark.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/builder.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/compat.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/config.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/error.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/feather.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/gandiva.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/io-hdfs.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/io.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/ipc.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/lib.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/lib.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/memory.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/pandas-shim.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/public-api.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/scalar.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/serialization.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/table.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/tensor.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/types.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/__init__.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/common.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow_cuda.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow_dataset.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow_flight.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow_fs.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libgandiva.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libplasma.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tensorflow
copying pyarrow/tensorflow/plasma_op.cc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tensorflow
copying pyarrow/tests/pyarrow_cython_example.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/feather
copying pyarrow/tests/data/feather/v0.17.0.version=2-compression=lz4.feather -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/feather
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/README.md -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.jsn.gz -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.orc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.jsn.gz -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.orc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.jsn.gz -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.orc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.jsn.gz -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.orc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.all-named-index.parquet -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.column-metadata-handling.parquet -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.parquet -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.some-named-index.parquet -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/common.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/conftest.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_basic.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_data_types.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_dataset.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_datetime.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_metadata.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_pandas.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_parquet_file.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_parquet_writer.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
running build_ext
creating /private/var/folders/6x/w0jxql4n42j1wvxzzncjw2480000gn/T/pip-install-vstsc1zi/pyarrow/build/temp.macosx-11.1-x86_64-3.7
-- Running cmake for pyarrow
cmake -DPYTHON_EXECUTABLE=/Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/python -DPython3_EXECUTABLE=/Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/python -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 /private/var/folders/6x/w0jxql4n42j1wvxzzncjw2480000gn/T/pip-install-vstsc1zi/pyarrow
error: command 'cmake' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 20.2.2; however, version 21.0.1 is available.
You should consider upgrading via the '/Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/python -m pip install --upgrade pip' command.
at ~/.poetry/lib/poetry/utils/env.py:1074 in _run
1070│ output = subprocess.check_output(
1071│ cmd, stderr=subprocess.STDOUT, **kwargs
1072│ )
1073│ except CalledProcessError as e:
→ 1074│ raise EnvCommandError(e, input=input_)
1075│
1076│ return decode(output)
1077│
1078│ def execute(self, bin, *args, **kwargs):
(base) ➜ Questrade python -V
Python 3.7.9
(base) ➜ Questrade python shell 3.9.1
/Users/nathanzylbersztejn/.pyenv/versions/3.7.9/bin/python: can't open file 'shell': [Errno 2] No such file or directory
(base) ➜ Questrade pyenv shell 3.9.1
(base) ➜ Questrade python -V
Python 3.9.1
(base) ➜ Questrade poetry install
Installing dependencies from lock file
Package operations: 14 installs, 0 updates, 0 removals
- Installing pyarrow (3.0.0)
EnvCommandError
Command ['/Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/pip', 'install', '--no-deps', 'pyarrow==3.0.0'] errored with the following return code 1, and output:
Collecting pyarrow==3.0.0
Using cached pyarrow-3.0.0.tar.gz (682 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Building wheels for collected packages: pyarrow
Building wheel for pyarrow (PEP 517): started
Building wheel for pyarrow (PEP 517): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/python /Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/6x/w0jxql4n42j1wvxzzncjw2480000gn/T/tmpvzwbjp2p
cwd: /private/var/folders/6x/w0jxql4n42j1wvxzzncjw2480000gn/T/pip-install-toetliph/pyarrow
Complete output (183 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.1-x86_64-3.7
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/orc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_generated_version.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/compat.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/benchmark.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/parquet.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/ipc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/util.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/flight.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/cffi.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/filesystem.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/__init__.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/plasma.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/types.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/dataset.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/cuda.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/feather.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/pandas_compat.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/fs.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/csv.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/jvm.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/hdfs.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/json.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/serialization.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/compute.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_tensor.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_ipc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/conftest.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_convert_builtin.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_misc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_gandiva.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/strategies.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_adhoc_memory_leak.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/arrow_7980.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/util.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_orc.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_table.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_array.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_deprecations.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_serialization_deprecated.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/__init__.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_io.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_cuda_numba_interop.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_cffi.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_schema.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_jvm.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_plasma_tf_op.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_fs.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_filesystem.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/pandas_threaded_import.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/pandas_examples.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_cython.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_sparse_tensor.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_dataset.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_builder.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_cuda.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_extension_type.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_feather.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_pandas.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_memory.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_flight.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_json.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_serialization.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_compute.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_hdfs.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/deserialize_buffer.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_strategies.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_csv.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_plasma.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_scalars.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
copying pyarrow/tests/test_types.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
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
warning: Failed to find the configured license file '../LICENSE.txt'
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.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_compute.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_compute.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_csv.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_csv.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_cuda.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_cuda.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_dataset.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_flight.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_fs.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_fs.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_hdfs.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_json.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_orc.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_orc.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_parquet.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_parquet.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_plasma.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/_s3fs.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/array.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/benchmark.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/builder.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/compat.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/config.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/error.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/feather.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/gandiva.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/io-hdfs.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/io.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/ipc.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/lib.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/lib.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/memory.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/pandas-shim.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/public-api.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/scalar.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/serialization.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/table.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/tensor.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
copying pyarrow/types.pxi -> build/lib.macosx-11.1-x86_64-3.7/pyarrow
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/__init__.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/common.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow_cuda.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow_dataset.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow_flight.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libarrow_fs.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libgandiva.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
copying pyarrow/includes/libplasma.pxd -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/includes
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tensorflow
copying pyarrow/tensorflow/plasma_op.cc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tensorflow
copying pyarrow/tests/pyarrow_cython_example.pyx -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/feather
copying pyarrow/tests/data/feather/v0.17.0.version=2-compression=lz4.feather -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/feather
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/README.md -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.jsn.gz -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.orc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.jsn.gz -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.test1.orc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.jsn.gz -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.orc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.jsn.gz -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
copying pyarrow/tests/data/orc/decimal.orc -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/orc
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.all-named-index.parquet -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.column-metadata-handling.parquet -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.parquet -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
copying pyarrow/tests/data/parquet/v0.7.1.some-named-index.parquet -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/data/parquet
creating build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/common.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/conftest.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_basic.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_data_types.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_dataset.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_datetime.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_metadata.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_pandas.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_parquet_file.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
copying pyarrow/tests/parquet/test_parquet_writer.py -> build/lib.macosx-11.1-x86_64-3.7/pyarrow/tests/parquet
running build_ext
creating /private/var/folders/6x/w0jxql4n42j1wvxzzncjw2480000gn/T/pip-install-toetliph/pyarrow/build/temp.macosx-11.1-x86_64-3.7
-- Running cmake for pyarrow
cmake -DPYTHON_EXECUTABLE=/Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/python -DPython3_EXECUTABLE=/Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/python -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 /private/var/folders/6x/w0jxql4n42j1wvxzzncjw2480000gn/T/pip-install-toetliph/pyarrow
error: command 'cmake' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 20.2.2; however, version 21.0.1 is available.
You should consider upgrading via the '/Users/nathanzylbersztejn/git/GitHub/Questrade/.venv/bin/python -m pip install --upgrade pip' command.
at ~/.poetry/lib/poetry/utils/env.py:1074 in _run
1070│ output = subprocess.check_output(
1071│ cmd, stderr=subprocess.STDOUT, **kwargs
1072│ )
1073│ except CalledProcessError as e:
→ 1074│ raise EnvCommandError(e, input=input_)
1075│
1076│ return decode(output)
1077│
1078│ def execute(self, bin, *args, **kwargs):
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Python pip install pyarrow error, unable to execute 'cmake'
I don't know why it says 'command 'cmake' failed with exit status 1', In fact to be sure, I preinstalled the cmake, but...
Read more >How to fix Python pyarrow pip install error: Could NOT find ...
How to fix Python pyarrow pip install error: Could NOT find Arrow (missing: ... error: command '/usr/bin/cmake' failed with exit code 1.
Read more >Installing PyArrow — Apache Arrow v10.0.1
PyArrow is currently compatible with Python 3.7, 3.8, 3.9, 3.10 and 3.11. Using Conda¶. Install the latest version of PyArrow from conda-forge using...
Read more >pyarrow - PyPI
This library provides a Python API for functionality provided by the Arrow C++ libraries, along with tools for Arrow integration and interoperability with ......
Read more >[jira] [Updated] (ARROW-12122) [Python] Cannot install via ...
error : command 'cmake' failed with exit status 1 ... setup.py clean for pyarrow > Failed to build pyarrow > Installing collected packages: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I get this same error on ubuntu 18.04. Another issue’s response correctly solved my issue - upgrade pip to the latest version
I encountered the similar issue on M1. I created the virtual environment using python 3.9. Finally worked! Previously I was using Python 3.11. Looks like that was the problem.