Unable to download numpy for input shapping

Basic Information:

Printer Model: Anycubic Kobra neo
MCU / Printerboard: TriGorilla V_3.0.6
Host / SBC: old dell insperon n9000
klippy(3).log (30.5 KB)

unable to download numpy "Cannot import 'setuptools.build_meta'"

Describe your issue:

got a adxl345 for input shaping and set it up and it works fine but i cannot download numpy for software dependencies. when i try downloading numpy v1.26 it gives me the above mentioned Cannot import 'setuptools.build_meta'. i found a thread with a similar issue so i tried there solution of downloading v1.18 which sadly did not work for me giving me this error wich i dont exactly know how to read

 error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) 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.
  full command: /home/klip/klippy-env/bin/python /home/klip/klippy-env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmphjaigoer
  cwd: /tmp/pip-install-0gv2kr_4/numpy_1340b19e366748c298de4823dd5d3b5c
  Preparing metadata (pyproject.toml) ... error
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.

any help would be appreciated.

i found the issue
just ran the command
~/klippy-env/bin/pip install -v "numpy>=1.26"
now its working :smiley:

3 Likes