#[SOLVED] Cmake "No module named cmake" when using yay

5 messages · Page 1 of 1 (latest)

tight jasper
#

mostly self explanatory, but elaboration never hurts.

When using yay to install a package that builds with cmake, it fails when "sources are ready" and it begins to build, yelling about "No module named cmake"

The cmake command is present on my system, but running it also gives "No module named cmake"
Trying to use pip to manually fetch it tells me to just use the arch-packaged version of the module I want.
But, everything I can find points towards cmake being said package.

I can't tell if this is a super weird issue or if I'm just missing something obvious, but I can't find anything on it to save my life. Does anyone know what's going on here?

P.S, sorry if tagging or format isn't quite right, just joined this server for this very issue.

snow oak
#

Use either a venv or the command pip install cmake --break-system-packages.

This Python package is not currently in the repo.

https://pypi.org/project/cmake/

tight jasper
#

The parameter for pip worked like a charm, thanks!

snow oak
#

... solved

tawny impBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you