"Preparing metadata (pyproject.toml) ... error" on Raspberry Pi 5
I am trying to install the lastest version of fastsdcpu on my Raspberry Pi 5 8GB and I keep getting this error message:
`Collecting PyQt5 Using cached PyQt5-5.15.11.tar.gz (3.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
Traceback (most recent call last):
File "/home/pi/fastsdcpu/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
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.`
Can someone help with this?
It's been driving me nuts.
I am using Debian 12 (bookworm) and have Python 3.11.2 installed.
@technofox01 please follow this https://github.com/rupeshs/fastsdcpu?tab=readme-ov-file#fastsd-cpu-on-linux It will automatically installs
@technofox01 please follow this https://github.com/rupeshs/fastsdcpu?tab=readme-ov-file#fastsd-cpu-on-linux It will automatically installs
I appreciate your help on this. I did that, please see my terminal output below: `~/fastsdcpu $ sudo ./install.sh Starting FastSD CPU env installation... Found python command Python version : 3.11.2 Looking in indexes: https://download.pytorch.org/whl/cpu, https://www.piwheels.org/simple Requirement already satisfied: torch==2.2.2 in ./env/lib/python3.11/site-packages (2.2.2) Requirement already satisfied: filelock in ./env/lib/python3.11/site-packages (from torch==2.2.2) (3.17.0) Requirement already satisfied: typing-extensions>=4.8.0 in ./env/lib/python3.11/site-packages (from torch==2.2.2) (4.12.2) Requirement already satisfied: sympy in ./env/lib/python3.11/site-packages (from torch==2.2.2) (1.13.3) Requirement already satisfied: networkx in ./env/lib/python3.11/site-packages (from torch==2.2.2) (3.3) Requirement already satisfied: jinja2 in ./env/lib/python3.11/site-packages (from torch==2.2.2) (3.1.5) Requirement already satisfied: fsspec in ./env/lib/python3.11/site-packages (from torch==2.2.2) (2025.2.0) Requirement already satisfied: MarkupSafe>=2.0 in ./env/lib/python3.11/site-packages (from jinja2->torch==2.2.2) (2.1.5) Requirement already satisfied: mpmath<1.4,>=1.1.0 in ./env/lib/python3.11/site-packages (from sympy->torch==2.2.2) (1.3.0) Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting accelerate==0.33.0 Using cached https://www.piwheels.org/simple/accelerate/accelerate-0.33.0-py3-none-any.whl (315 kB) Collecting diffusers==0.30.0 Using cached https://www.piwheels.org/simple/diffusers/diffusers-0.30.0-py3-none-any.whl (2.6 MB) Collecting transformers==4.41.2 Using cached https://www.piwheels.org/simple/transformers/transformers-4.41.2-py3-none-any.whl (9.1 MB) Collecting PyQt5 Using cached PyQt5-5.15.11.tar.gz (3.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
Traceback (most recent call last):
File "/home/pi/fastsdcpu/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
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.`
Please try this ./install.sh --disable-gui
Please try this
./install.sh --disable-gui
Hi!
This worked perfectly, thank you. Quick question, are you able to add support for OnnxStream?
Source: https://github.com/vitoplantamura/OnnxStream
It works so much faster on Raspberry Pi 5 than the methods used by Fastsdcpu. It just lacks a functional webui. I appreciate your thoughts.
@technofox01 Thanks for using FastSDCPU, i will check that
@technofox01 how much time onnxstream takes to generate image on RPI 5? which model?