Open kolobok5447 opened 1 month ago
kolobok5447@kolobok5447-K53SD:~$ pipx install anicli-ru --force Installing to existing directory '/home/kolobok5447/.local/pipx/venvs/anicli-ru' error: subprocess-exited-with-error × Building wheel for chompjs (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [25 lines of output] running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-38/chompjs copying chompjs/chompjs.py -> build/lib.linux-x86_64-cpython-38/chompjs copying chompjs/test_parser.py -> build/lib.linux-x86_64-cpython-38/chompjs copying chompjs/__init__.py -> build/lib.linux-x86_64-cpython-38/chompjs running egg_info writing chompjs.egg-info/PKG-INFO writing dependency_links to chompjs.egg-info/dependency_links.txt writing top-level names to chompjs.egg-info/top_level.txt reading manifest file 'chompjs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'chompjs.egg-info/SOURCES.txt' running build_ext building '_chompjs' extension creating build/temp.linux-x86_64-cpython-38/_chompjs x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/kolobok5447/.local/pipx/venvs/anicli-ru/include -I/usr/include/python3.8 -c _chompjs/buffer.c -o build/temp.linux-x86_64-cpython-38/_chompjs/buffer.o -Wl,-Bsymbolic-functions x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/kolobok5447/.local/pipx/venvs/anicli-ru/include -I/usr/include/python3.8 -c _chompjs/module.c -o build/temp.linux-x86_64-cpython-38/_chompjs/module.o -Wl,-Bsymbolic-functions _chompjs/module.c:7:10: fatal error: Python.h: Нет такого файла или каталога 7 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for chompjs ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (chompjs) '/home/kolobok5447/.local/pipx/venvs/anicli-ru/bin/python -m pip install anicli-ru -q' failed kolobok5447@kolobok5447-K53SD:~$
попробуй удалить директорию ~/.local/pipx/venvs/anicli-ru и попробовать снова
~/.local/pipx/venvs/anicli-ru
Также