” Metadata generation failed” . I keep getting this message as i try to install pyqt6_tools. I need help please

I have python 3.12 installed in my windows 10 and this is the error :

 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
  ╰─> [26 lines of output]
.
.
.
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.

pls help me solve this

If you mean this project, the issue has already been encountered by a few others and reported. The project apparently does not support Python 3.12, and in fact does not advertise support for 3.10 or 3.11 either (although it may work there).

1 Like

so you mean i should install other pyhton version or what ?

You could ask the author if the package to fix their bug.

Also you could ask for help on the pyqt mailing list. See PyQt/TheMailingList - Python Wiki

1 Like

i will thank you karl and barry