If I type in cmake --version in the console, I see the following:
Traceback (most recent call last):
File "/home/datiswous/.local/bin/cmake", line 5, in <module>
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
I do not think cmake is something that has to run from the home. Probably has just too many hardcoded dependencies. Have you tried installing it globally, in the normal way?
…and actually remove everything from there, that you did not create yourself and knowledgably. Maybe there is more trash there than just the fake cmake.