ModulenotFoundError: Kein Modul mit dem Namen "CMake"

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: ModulenotFoundError: Kein Modul mit dem Namen "CMake"

by Anonymous » 05 Sep 2025, 01:43

Ich versuche, die folgende Installation aus einem Jupyter -Kernel auszuführen: PIP -Installation Evaluieren < /code>
Die Installation schlägt mit der folgenden Nachricht fehl: < /p>

Code: Select all

running build_ext
creating /tmp/pip-install-2z_l41wl/pyarrow_a585c5f0611b4e11b42066eb73333595/build/temp.linux-x86_64-cpython-312
-- Running cmake for PyArrow
cmake -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-2z_l41wl/pyarrow_a585c5f0611b4e11b42066eb73333595/build/lib.linux-x86_64-cpython-312/pyarrow -DPYTHON_EXECUTABLE=/home/tammosta/.local/share/mise/installs/python/3.12.10/bin/python -DPython3_EXECUTABLE=/home/tammosta/.local/share/mise/installs/python/3.12.10/bin/python -DPYARROW_CXXFLAGS= -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release /tmp/pip-install-2z_l41wl/pyarrow_a585c5f0611b4e11b42066eb73333595
Traceback (most recent call last):
File "/home/tammosta/.local/share/mise/installs/python/3.12.10/bin/cmake", line 5, in 
from cmake import cmake
ModuleNotFoundError: No module named 'cmake'
error: command '/home/tammosta/.local/share/mise/installs/python/3.12.10/bin/cmake' failed with exit code 1
< /code>
Aus dem Kernel habe ich PIP -Installation -Upgrade CMake < /code>
ausgeführt und es erfolgreich installiert. Der Befehl pip install evaluate 
schlägt jedoch immer noch mit derselben Nachricht fehl. Ich habe auch den folgenden Code ausgeführt, um CMake
dem Pfad zu addieren, aber ohne Erfolg: < /p>

import sys
sys.path.append("/home/tammosta/.local/share/mise/installs/python/3.12.10/bin/cmake")
< /code>
Kann mir bitte jemand helfen, dies zu debuggen? Danke
Hinweis: Aus dem Jupyter -Kernel kann ich erfolgreich mit CMake importieren cmake < /code>
rennen. Ich weiß nicht, warum der Befehl pip install evaluse nicht ausgeführt wird.

Top