error: subprocess-exited-with-error python setup.py egg_info did not run successfully. при установке requirements.txt (kali linux)
Нужно установить requirements.txt в kali, вышла эта ошибка. полазил по форумам, посмотрел. Похожих ошибок не нашел. Знатоки, помогите.
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
/tmp/pip-install-t391ivym/lxml_730e3aef42664e58b8c599b353d3c903/setup.py:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Building lxml version 4.9.3.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Ответы (1 шт):
Автор решения: iglebov
→ Ссылка
Из текста ошибки: "проблема с пакетом, а не pip".
Смотрим текст ошибки выше: "убедитесь что пакеты libxml2 и libxslt установлены".
Предлагаю выполнить следующие шаги:
Установить пакеты libxml2 и libxslt
Снова попытаться установить requirements.txt