Command errored out with exit status 1 как исправить
Перейти к содержимому

Command errored out with exit status 1 как исправить

  • автор:

ERROR: Command errored out with exit status 1?

Приветствую читающих, в общем нагрянула меня ошибка при установке pip instaal eel
ERROR: Command errored out with exit status 1:
command: ‘f:\python\python.exe’ ‘f:\python\lib\site-packages\pip’ install —ignore-installed —no-user —prefix ‘C:\Users\Titto\AppData\Local\Temp\pip-build-env-k9vtroue\overlay’ —no-warn-script-location —no-binary :none: —only-binary :none: -i https://pypi.org/simple — ‘setuptools >= 40.8.0’ wheel ‘Cython >= 3.0a5’ ‘cffi >= 1.12.3 ; platform_python_implementation == ‘»‘»‘CPython'»‘»» ‘greenlet >= 0.4.17 ; platform_python_implementation == ‘»‘»‘CPython'»‘»»
cwd: None
Complete output (27 lines):
Collecting setuptools>=40.8.0
Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
Collecting wheel
Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting Cython>=3.0a5
Using cached Cython-3.0a6-py2.py3-none-any.whl (1.0 MB)
Collecting cffi>=1.12.3
Using cached cffi-1.14.3-cp39-cp39-win_amd64.whl (179 kB)
Collecting greenlet>=0.4.17
Using cached greenlet-0.4.17.tar.gz (61 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Using legacy ‘setup.py install’ for greenlet, since package ‘wheel’ is not installed.
Installing collected packages: setuptools, wheel, Cython, pycparser, cffi, greenlet
Running setup.py install for greenlet: started
Running setup.py install for greenlet: finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: ‘f:\python\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:\\Users\\Titto\\AppData\\Local\\Temp\\pip-install-0r5opf3n\\greenlet\\setup.py'»‘»‘; __file__='»‘»‘C:\\Users\\Titto\\AppData\\Local\\Temp\\pip-install-0r5opf3n\\greenlet\\setup.py'»‘»‘;f=getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(__file__);code=f.read().replace(‘»‘»‘\r\n'»‘»‘, ‘»‘»‘\n'»‘»‘);f.close();exec(compile(code, __file__, ‘»‘»‘exec'»‘»‘))’ install —record ‘C:\Users\Titto\AppData\Local\Temp\pip-record-q1csbtzs\install-record.txt’ —single-version-externally-managed —prefix ‘C:\Users\Titto\AppData\Local\Temp\pip-build-env-k9vtroue\overlay’ —compile —install-headers ‘C:\Users\Titto\AppData\Local\Temp\pip-build-env-k9vtroue\overlay\Include\greenlet’
cwd: C:\Users\Titto\AppData\Local\Temp\pip-install-0r5opf3n\greenlet\
Complete output (5 lines):
running install
running build
running build_ext
building ‘greenlet’ extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with «Microsoft C++ Build Tools»: https://visualstudio.microsoft.com/visual-cpp-buil.
—————————————-
ERROR: Command errored out with exit status 1: ‘f:\python\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:\\Users\\Titto\\AppData\\Local\\Temp\\pip-install-0r5opf3n\\greenlet\\setup.py'»‘»‘; __file__='»‘»‘C:\\Users\\Titto\\AppData\\Local\\Temp\\pip-install-0r5opf3n\\greenlet\\setup.py'»‘»‘;f=getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(__file__);code=f.read().replace(‘»‘»‘\r\n'»‘»‘, ‘»‘»‘\n'»‘»‘);f.close();exec(compile(code, __file__, ‘»‘»‘exec'»‘»‘))’ install —record ‘C:\Users\Titto\AppData\Local\Temp\pip-record-q1csbtzs\install-record.txt’ —single-version-externally-managed —prefix ‘C:\Users\Titto\AppData\Local\Temp\pip-build-env-k9vtroue\overlay’ —compile —install-headers ‘C:\Users\Titto\AppData\Local\Temp\pip-build-env-k9vtroue\overlay\Include\greenlet’ Check the logs for full command output.
—————————————-
ERROR: Command errored out with exit status 1: ‘f:\python\python.exe’ ‘f:\python\lib\site-packages\pip’ install —ignore-installed —no-user —prefix ‘C:\Users\Titto\AppData\Local\Temp\pip-build-env-k9vtroue\overlay’ —no-warn-script-location —no-binary :none: —only-binary :none: -i https://pypi.org/simple — ‘setuptools >= 40.8.0’ wheel ‘Cython >= 3.0a5’ ‘cffi >= 1.12.3 ; platform_python_implementation == ‘»‘»‘CPython'»‘»» ‘greenlet >= 0.4.17 ; platform_python_implementation == ‘»‘»‘CPython'»‘»» Check the logs for full command output.

Были статьи что надо установить Visual C++ 14.0, установил и нечего не помогло, есть кто можешь помочь с проблемой?

  • Вопрос задан более трёх лет назад
  • 3066 просмотров

4 комментария

Простой 4 комментария

Как исправить ошибку « Command errored out with exit status 1:»?

При попытки установить библиотеку vidstream вылетает ошибка:

ERROR: Command errored out with exit status 1: command: 'C:\Users\nesto\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\nesto\\AppData\\Local\\Temp\\pip-install-sfzpppbc\\pyaudio_1c03bba365b94b7c9ed5cc6d707b0d0a\\setup.py'"'"'; __file__='"'"'C:\\Users\\nesto\\AppData\\Local\\Temp\\pip-install-sfzpppbc\\pyaudio_1c03bba365b94b7c9ed5cc6d707b0d0a\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\nesto\AppData\Local\Temp\pip-record-znl2sicq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\nesto\AppData\Local\Programs\Python\Python310\Include\pyaudio' cwd: C:\Users\nesto\AppData\Local\Temp\pip-install-sfzpppbc\pyaudio_1c03bba365b94b7c9ed5cc6d707b0d0a\ Complete output (9 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.10 copying src\pyaudio.py -> build\lib.win-amd64-3.10 running build_ext building '_portaudio' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ ---------------------------------------- ERROR: Command errored out with exit status 1: 'C:\Users\nesto\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\nesto\\AppData\\Local\\Temp\\pip-install-sfzpppbc\\pyaudio_1c03bba365b94b7c9ed5cc6d707b0d0a\\setup.py'"'"'; __file__='"'"'C:\\Users\\nesto\\AppData\\Local\\Temp\\pip-install-sfzpppbc\\pyaudio_1c03bba365b94b7c9ed5cc6d707b0d0a\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\nesto\AppData\Local\Temp\pip-record-znl2sicq\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\nesto\AppData\Local\Programs\Python\Python310\Include\pyaudio' Check the logs for full command output.
  • Вопрос задан более года назад
  • 510 просмотров

Комментировать

Решения вопроса 1

Сергей Горностаев @sergey-gornostaev Куратор тега Python

Седой и строгий

Похоже на то, что для сборки библиотеки нужен компилятор C, а у вас в системе он не установлен или не настроен.

Ответ написан более года назад

Нравится 3 1 комментарий

Почему возникает ошибка: “ERROR: Command errored out with exit status 1” в Google Colab при попытке клонировать репозиторий?

Всё просто: в репозитории нет файла setup.py поэтому pip не может его установить. Нужно руками копировать файлы к себе в папку. Или проанализировать репозиторий и самому написать данный файл.

Отслеживать
ответ дан 12 окт 2020 в 16:28
freshITmeat freshITmeat
89 1 1 серебряный знак 10 10 бронзовых знаков

  • python
  • python-3.x
  • github
  • pip
    Важное на Мете
Похожие

Подписаться на ленту

Лента вопроса

Для подписки на ленту скопируйте и вставьте эту ссылку в вашу программу для чтения RSS.

Дизайн сайта / логотип © 2023 Stack Exchange Inc; пользовательские материалы лицензированы в соответствии с CC BY-SA . rev 2023.10.27.43697

Нажимая «Принять все файлы cookie» вы соглашаетесь, что Stack Exchange может хранить файлы cookie на вашем устройстве и раскрывать информацию в соответствии с нашей Политикой в отношении файлов cookie.

ERROR: Command errored out with exit status 1

Не могу импортировать библиотеку ‘eel’, выдаёт пласт ошибок, искал в гугле не нашёл решение вот ошибка:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
ERROR: Command errored out with exit status 1: command: 'c:\users\arsen\python\venv\scripts\python.exe' 'c:\users\arsen\python\venv\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\a rsen\AppData\Local\Temp\pip-build-env-frnhg6ie\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools >= 4 0.8.0' wheel 'Cython >= 3.0a5' 'cffi >= 1.12.3 ; platform_python_implementation == '"'"'CPython'"'"'' 'greenlet >= 0.4.17 ; platform_python_implementation == '"'"'CPyth on'"'"'' cwd: None Complete output (27 lines): Collecting setuptools>=40.8.0 Using cached setuptools-50.3.2-py3-none-any.whl (785 kB) Collecting wheel Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB) Collecting Cython>=3.0a5 Using cached Cython-3.0a6-py2.py3-none-any.whl (1.0 MB) Collecting cffi>=1.12.3 Using cached cffi-1.14.3-cp39-cp39-win_amd64.whl (179 kB) Collecting greenlet>=0.4.17 Using cached greenlet-0.4.17.tar.gz (61 kB) Collecting pycparser Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB) Using legacy 'setup.py install' for greenlet, since package 'wheel' is not installed. Installing collected packages: setuptools, wheel, Cython, pycparser, cffi, greenlet Running setup.py install for greenlet: started Running setup.py install for greenlet: finished with status 'error' ERROR: Command errored out with exit status 1: command: 'c:\users\arsen\python\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\arsen\\AppData\\Local\\Temp\\pip- install-2to2x0vv\\greenlet\\setup.py'"'"'; __file__='"'"'C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-install-2to2x0vv\\greenlet\\setup.py'"'"';f=getattr(tokenize, '"'"' open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\arsen \AppData\Local\Temp\pip-record-2wrtngri\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\arsen\AppData\Local\Temp\pip-build-env-frnhg6ie\overl ay' --compile --install-headers 'C:\Users\arsen\AppData\Local\Temp\pip-build-env-frnhg6ie\overlay\include\site\python3.9\greenlet' cwd: C:\Users\arsen\AppData\Local\Temp\pip-install-2to2x0vv\greenlet\ Complete output (5 lines): running install running build running build_ext building 'greenlet' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\users\arsen\python\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ arsen\\AppData\\Local\\Temp\\pip-install-2to2x0vv\\greenlet\\setup.py'"'"'; __file__='"'"'C:\\Users\\arsen\\AppData\\Local\\Temp\\pip-install-2to2x0vv\\greenlet\\setup. py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\arsen\AppData\Local\Temp\pip-record-2wrtngri\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\arsen\AppData\Local\ Temp\pip-build-env-frnhg6ie\overlay' --compile --install-headers 'C:\Users\arsen\AppData\Local\Temp\pip-build-env-frnhg6ie\overlay\include\site\python3.9\greenlet' Chec k the logs for full command output. ---------------------------------------- ERROR: Command errored out with exit status 1: 'c:\users\arsen\python\venv\scripts\python.exe' 'c:\users\arsen\python\venv\lib\site-packages\pip' install --ignore-insta lled --no-user --prefix 'C:\Users\arsen\AppData\Local\Temp\pip-build-env-frnhg6ie\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https:// pypi.org/simple -- 'setuptools >= 40.8.0' wheel 'Cython >= 3.0a5' 'cffi >= 1.12.3 ; platform_python_implementation == '"'"'CPython'"'"'' 'greenlet >= 0.4.17 ; platform_ python_implementation == '"'"'CPython'"'"'' Check the logs for full command output.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *