«PIP Install» дает ошибку на некоторых пакетах, но не на другихPython

Программы на Python
Ответить Пред. темаСлед. тема
Anonymous
 «PIP Install» дает ошибку на некоторых пакетах, но не на других

Сообщение Anonymous »

Когда я использую Pip Install для установки некоторых пакетов, он работает нормально, например (запрос и Selectolax), но на других, таких как панда и другие пакеты, я получаю этот вывод в моем терминале: < /p>

Код: Выделить всё

Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [69 lines of output]
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'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'error'
error: subprocess-exited-with-error

pip subprocess to install backend dependencies did not run successfully.
exit code: 1

[36 lines of output]
Collecting ninja>=1.8.2
Using cached ninja-1.11.1.1.tar.gz (132 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

[13 lines of output]
C:\Users\rudyr\AppData\Local\Temp\pip-build-env-envg_xup\overlay\lib\python3.10\site-packages\setuptools_scm\git.py:308: UserWarning: git archive did not support describe output
warnings.warn("git archive did not support describe output")
C:\Users\rudyr\AppData\Local\Temp\pip-build-env-envg_xup\overlay\lib\python3.10\site-packages\setuptools_scm\git.py:327: UserWarning: unprocessed git archival found (no export subst applied)
warnings.warn("unprocessed git archival found (no export subst applied)")
Traceback (most recent call last):
File "C:\Users\rudyr\AppData\Local\Temp\pip-build-env-envg_xup\overlay\lib\python3.10\site-packages\skbuild\setuptools_wrap.py", line 645, in setup
cmkr = cmaker.CMaker(cmake_executable)
File "C:\Users\rudyr\AppData\Local\Temp\pip-build-env-envg_xup\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\rudyr\AppData\Local\Temp\pip-build-env-envg_xup\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.
[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 build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
говорит, что ошибка заключается в Cmake, но я получаю аналогичные ошибки, если я попытаюсь обновить Cmake, я также попробовал с другой версией Python в качестве пути интерпретатора.

Подробнее здесь: https://stackoverflow.com/questions/780 ... not-others
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение
  • 'pip install` выдает ошибку в некоторых пакетах, но не в других
    Anonymous » » в форуме Python
    0 Ответы
    29 Просмотры
    Последнее сообщение Anonymous
  • `pip install` выдает ошибку в некоторых пакетах
    Anonymous » » в форуме Python
    0 Ответы
    24 Просмотры
    Последнее сообщение Anonymous
  • `pip install` выдает ошибку в некоторых пакетах
    Anonymous » » в форуме Python
    0 Ответы
    29 Просмотры
    Последнее сообщение Anonymous
  • Как исправить сбой при запуске исполнителя [/bin/sh -c pip install --upgrade --force-reinstall pip==9.0.3 && pip install
    Anonymous » » в форуме Python
    0 Ответы
    117 Просмотры
    Последнее сообщение Anonymous
  • В чем разница между «pip install bs4» и «pip install BeautifulSoup4»?
    Anonymous » » в форуме Python
    0 Ответы
    53 Просмотры
    Последнее сообщение Anonymous

Вернуться в «Python»