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

**URL:** <https://discourse.cmake.org/t/i-need-help-with-error-building-wheel-for-cmake-on-raspberry-pi-4/3316>\
**Category:** Code\
**Created:** [May 13, 2021, 8:07pm UTC](https://discourse.cmake.org/t/i-need-help-with-error-building-wheel-for-cmake-on-raspberry-pi-4/3316 "2021-05-13T20:07:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ken\_Whitmore](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/k/a183cd/32.png) [@Ken\_Whitmore](https://discourse.cmake.org/u/Ken_Whitmore)\
**Post date:** [May 13, 2021, 8:07pm UTC](https://discourse.cmake.org/t/i-need-help-with-error-building-wheel-for-cmake-on-raspberry-pi-4/3316/1 "2021-05-13T20:07:08Z")

</div>

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://pypi.org/simple), [https://www.piwheels.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](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

---

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)\
**Post date:** [May 13, 2021, 8:22pm UTC](https://discourse.cmake.org/t/i-need-help-with-error-building-wheel-for-cmake-on-raspberry-pi-4/3316/2 "2021-05-13T20:22:14Z")

</div>

@jcfr?

---

<div class="post-metadata">

**Author:** ![cerna](https://discourse.cmake.org/user_avatar/discourse.cmake.org/cerna/32/1299_2.png) [@cerna](https://discourse.cmake.org/u/cerna)\
**Post date:** [May 14, 2021, 1:12am UTC](https://discourse.cmake.org/t/i-need-help-with-error-building-wheel-for-cmake-on-raspberry-pi-4/3316/3 "2021-05-14T01:12:38Z")

</div>

I think you are in luck - there [seems to be a clear end goal](https://github.com/scikit-build/cmake-python-distributions/issues/138) for this.

---

<div class="post-metadata">

**Author:** ![Ken\_Whitmore](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/k/a183cd/32.png) [@Ken\_Whitmore](https://discourse.cmake.org/u/Ken_Whitmore)\
**Post date:** [May 17, 2021, 9:06am UTC](https://discourse.cmake.org/t/i-need-help-with-error-building-wheel-for-cmake-on-raspberry-pi-4/3316/4 "2021-05-17T09:06:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ken\_Whitmore](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/k/a183cd/32.png) [@Ken\_Whitmore](https://discourse.cmake.org/u/Ken_Whitmore)\
**Post date:** [May 22, 2021, 3:19am UTC](https://discourse.cmake.org/t/i-need-help-with-error-building-wheel-for-cmake-on-raspberry-pi-4/3316/5 "2021-05-22T03:19:07Z")

</div>

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