yaqwsx / KiKit

Automation tools for KiCAD
https://yaqwsx.github.io/KiKit
MIT License
1.53k stars 201 forks source link

backend installation via pip failes #607

Closed lindeMAX closed 11 months ago

lindeMAX commented 11 months ago

Prerequisites

KiKit version

n.a

KiCAD version

7.08

Operating system

Arch Linux

Description

Backend installation via pip throws the following error: ` Collecting kitkit Using cached kitkit-0.0.0.tar.gz (2.2 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [24 lines of output] Traceback (most recent call last): File "/home/max/python_environments/kitkit/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/home/max/python_environments/kitkit/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/max/python_environments/kitkit/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-cdc1wf/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-cdc1wf/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-cdc1wf/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 507, in run_setup super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) File "/tmp/pip-build-env-cdc1wf/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup exec(code, locals()) File "", line 4, in File "/tmp/pip-install-628psnyt/kitkit_92fef30e2cd8498ea935e916c6d537af/wu/init.py", line 7, in from wu import wy File "/tmp/pip-install-628psnyt/kitkit_92fef30e2cd8498ea935e916c6d537af/wu/wy.py", line 7, in import requests ModuleNotFoundError: No module named 'requests' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel 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. `

Steps to Reproduce

Create a virtual venv and activate it run 'pip install kitkit'

lindeMAX commented 11 months ago

Sry. It was may bad -> Had a typo there (kitkit vs kikit)