I need help with error building wheel for cmake on raspberry pi 4

In order to install frequent-cron on my Raspberry Pi 4B, I’m trying to install cmake.
To do so, I tried…
sudo pip install cmake
I expected it to set up cmake, but I’m getting the following output instead:

pi@raspberry:/usr/bin/tests $ sudo pip install cmake
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cmake
Downloading https://files.pythonhosted.org/packages/26/76/b6df98a03343160a27c449c2866d8b94d349be4a3a6632aaf49c8d27916b/cmake-3.18.4.post1.tar.gz
Installing build dependencies … done
Building wheels for collected packages: cmake
Running setup.py bdist_wheel for cmake … error
Complete output from command /usr/bin/python -u -c “import setuptools, tokenize;file=’/tmp/pip-install-WjPPlZ/cmake/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” bdist_wheel -d /tmp/pip-wheel-Y5MGNf --python-tag cp27:
Traceback (most recent call last):
File “/tmp/pip-build-env-Z7QPlm/lib/python2.7/site-packages/skbuild/setuptools_wrap.py”, line 560, in setup
cmkr = cmaker.CMaker(cmake_executable)
File “/tmp/pip-build-env-Z7QPlm/lib/python2.7/site-packages/skbuild/cmaker.py”, line 95, in init
self.cmake_version = get_cmake_version(self.cmake_executable)
File “/tmp/pip-build-env-Z7QPlm/lib/python2.7/site-packages/skbuild/cmaker.py”, line 82, in get_cmake_version
“Problem with the CMake installation, aborting build. CMake executable is %s” % cmake_executable)

Problem with the CMake installation, aborting build. CMake executable is cmake

@jcfr?

I think you are in luck - there seems to be a clear end goal for this.

Thanks for the feedback. I hope you’re right, but reading the thread I feel like I’m in over my head.

Is that usable with a rasberry pi 4B with quad-core Arm Cortex-A72 CPU?