cmake-python-distributions
cmake-python-distributions copied to clipboard
Could not build wheels for cmake
Python: 3.9.10 platform: Windows-10-10.0.22000-SP0 machine: AMD64 bits: 64 pip: n/a setuptools: 65.6.3 scikit-build: 0.16.3 PEP517_BUILD_BACKEND=setuptools.build_meta =============================DEBUG ASSISTANCE=============================
Problem with the CMake installation, aborting build. CMake executable is cmake
[end of output]
This is the problem that I'm facing while installing cmake in pycharm.
I have exactly the same issue on Debian (Raspberry):
Building wheels for collected packages: cmake
Building wheel for cmake (pyproject.toml): started
Building wheel for cmake (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for cmake (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
Traceback (most recent call last):
File "/tmp/pip-build-env-buvsi6w4/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 612, in setup
cmkr = cmaker.CMaker(cmake_executable)
File "/tmp/pip-build-env-buvsi6w4/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 148, in __init__
self.cmake_version = get_cmake_version(self.cmake_executable)
File "/tmp/pip-build-env-buvsi6w4/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 103, in get_cmake_version
raise SKBuildError(
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install cmake:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) If on Linux, with glibc < 2.12, you can set PIP_ONLY_BINARY=cmake in
order to retrieve the last manylinux1 compatible wheel.
3) If on Linux, with glibc < 2.12, you can cap "cmake<3.23" in your
requirements in order to retrieve the last manylinux1 compatible wheel.
4) Open an issue with the debug information that follows at
https://github.com/scikit-build/cmake-python-distributions/issues
Python: 3.10.9
platform: Linux-5.15.32-v7l+-armv7l-with-glibc2.31
glibc: glibc 2.31
machine: armv7l
bits: 32
pip: n/a
setuptools: 65.6.3
scikit-build: 0.16.3
PEP517_BUILD_BACKEND=setuptools.build_meta
=============================DEBUG ASSISTANCE=============================
Problem with the CMake installation, aborting build. CMake executable is cmake
[end of output]
Same problem here, could be related to https://github.com/scikit-build/cmake-python-distributions/issues/285 ?
Same problem in python3.10.10-slim-bullseye container on Rpi 4B
Having the same problem on a riscv64 GitHub runner on a Licheepi4a.
We are seeing similiar issue
#32 290.6 self.cmake_version = get_cmake_version(self.cmake_executable)
#32 290.6 File "/tmp/pip-build-env-7oabzzab/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 105, in get_cmake_version
#32 290.6 raise SKBuildError(msg) from err
#32 290.6
#32 290.6
#32 290.6 =============================DEBUG ASSISTANCE=============================
#32 290.6 If you are seeing a compilation error please try the following steps to
#32 290.6 successfully install cmake:
#32 290.6 1) Upgrade to the latest pip and try again. This will fix errors for most
#32 290.6 users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
#32 290.6 2) If on Linux, with glibc < 2.12, you can set PIP_ONLY_BINARY=cmake in
#32 290.6 order to retrieve the last manylinux1 compatible wheel.
#32 290.6 3) If on Linux, with glibc < 2.12, you can cap "cmake<3.23" in your
#32 290.6 requirements in order to retrieve the last manylinux1 compatible wheel.
#32 290.6 4) Open an issue with the debug information that follows at
#32 290.6 https://github.com/scikit-build/cmake-python-distributions/issues
#32 290.6
#32 290.6 Python: 3.8.10
#32 290.6 platform: Linux-5.15.0-1040-azure-x86_64-with-glibc2.28
#32 290.6 glibc: glibc 2.28
#32 290.6 machine: x86_64
#32 290.6 bits: 64
#32 290.6 pip: n/a
#32 290.6 setuptools: 68.0.0
#32 290.6 scikit-build: 0.17.6
#32 290.6 PEP517_BUILD_BACKEND=setuptools.build_meta
#32 290.6 =============================DEBUG ASSISTANCE=============================
#32 290.6
#32 290.6 Problem with the CMake installation, aborting build. CMake executable is cmake
#32 290.6 [end of output]