Problem:
Struggling to install Streamlit on Mac OS (which I am new to).
Steps followed:
- Python 2.7 came pre-installed. I manually installed 3.10
- Followed installation steps as per Installation - Streamlit Docs
Debug info
- Streamlit version: (1.25.0)
- Python version: (3.10)
- OS version: Mac OS High Sierra 10.13.6
- Browser version: Brave Version 1.56.11 Chromium: 115.0.5790.102 (Official Build) (x86_64)
Error information
Streamlit installation seems to be running fine until it encounters pyarrow. The error message onwards is below:
creating /private/var/folders/xl/0xfvcg4x1937b70b57cg6_500000gn/T/pip-install-guosfpqj/pyarrow_644d6d6c95014ba5ba09ac31fe6b7d07/build/temp.macosx-10.9-universal2-cpython-310
-- Running cmake for PyArrow
cmake -DCMAKE_INSTALL_PREFIX=/private/var/folders/xl/0xfvcg4x1937b70b57cg6_500000gn/T/pip-install-guosfpqj/pyarrow_644d6d6c95014ba5ba09ac31fe6b7d07/build/lib.macosx-10.9-universal2-cpython-310/pyarrow -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -DPython3_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -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 /private/var/folders/xl/0xfvcg4x1937b70b57cg6_500000gn/T/pip-install-guosfpqj/pyarrow_644d6d6c95014ba5ba09ac31fe6b7d07
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
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
Thanks in advance.
Cheers