Collecting ninja>=1.8.2
Using cached ninja-1.11.1.tar.gz (27 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: ninja
Building wheel for ninja (pyproject.toml): started
Building wheel for ninja (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Building wheel for ninja (pyproject.toml) did not run successfully.
exit code: 1
[9 lines of output]
Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-9e2mdrtx\overlay\lib\python3.10\site-packages\skbuild\setuptools_wrap.py", line 645, in setup
cmkr = cmaker.CMaker(cmake_executable)
File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-9e2mdrtx\overlay\lib\python3.10\site-packages\skbuild\cmaker.py", line 148, in __init__
self.cmake_version = get_cmake_version(self.cmake_executable)
File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-9e2mdrtx\overlay\lib\python3.10\site-packages\skbuild\cmaker.py", line 105, in get_cmake_version
raise SKBuildError(msg) from err
Problem with the CMake installation, aborting build. CMake executable is cmake
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ninja
Failed to build ninja
ERROR: Could not build wheels for ninja, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Кто-нибудь может сказать мне, в чем проблема? и как это исправить
Я новичок в Python. Я пытаюсь установить numpy, но получаю эту ошибку. [code]Collecting ninja>=1.8.2 Using cached ninja-1.11.1.tar.gz (27 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: ninja Building wheel for ninja (pyproject.toml): started Building wheel for ninja (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error
Building wheel for ninja (pyproject.toml) did not run successfully. exit code: 1
[9 lines of output] Traceback (most recent call last): File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-9e2mdrtx\overlay\lib\python3.10\site-packages\skbuild\setuptools_wrap.py", line 645, in setup cmkr = cmaker.CMaker(cmake_executable) File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-9e2mdrtx\overlay\lib\python3.10\site-packages\skbuild\cmaker.py", line 148, in __init__ self.cmake_version = get_cmake_version(self.cmake_executable) File "C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-9e2mdrtx\overlay\lib\python3.10\site-packages\skbuild\cmaker.py", line 105, in get_cmake_version raise SKBuildError(msg) from err
Problem with the CMake installation, aborting build. CMake executable is cmake [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ninja Failed to build ninja ERROR: Could not build wheels for ninja, which is required to install pyproject.toml-based projects [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. [/code] Кто-нибудь может сказать мне, в чем проблема? и как это исправить