2

This is the command line that I used to install

'(venv) C:\Windows\System32>pip install pyqt6'

Collecting pyqt6
Using cached PyQt6-6.2.2.tar.gz (1.0 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
╰─> [29 lines of output]
  Traceback (most recent call last):
    File "D:\hamza\arbah\venv\lib\site- 
 packages\pip\_vendor\pep517\in_process\_in_process.py", 
  line 156, in prepare_metadata_for_build_wheel
      hook = backend.prepare_metadata_for_build_wheel
  AttributeError: module 'sipbuild.api' has no attribute 
 'prepare_metadata_for_build_wheel'
 
  During handling of the above exception, another exception occurred:
 
  Traceback (most recent call last):
     
note: This error originates from a subprocess, and is likely not a 
problem with pip.
error: metadata-generation-failed

How to solve this problem?

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
hamza chenni
  • 146
  • 2
  • 18

0 Answers0