Where to find pyqrc/pyrcc5 (pyqt5==5.15.7 / py3.10.1win32) ?

BPL spscener84 at gmail.com
Sat Sep 3 21:22:21 BST 2022


Hi guys,

I wanted to run a very old pyqt5 project and after installing all deps and
latest PyQt5==5.15.7 I've realized at that time I was having some .bat
files that'd compile resources like:

pyqrc --include-files=*.png images > resources.qrc
pyrcc5 -o resources.py resources.qrc

When I've installed all the requirements of that project on a
win10/virtualenv using Python 3.10.1  on win32 I've realized these qt tools
(pyqrc/pyrcc5) are not shipped with pyqt5 anymore.

So, could anyone please give me advice? I've tried unsuccessfully using
pyqt5-tools, crash below:

----------
$ pip install pyqt5-tools
Collecting pyqt5-tools
  Using cached pyqt5_tools-5.15.4.3.2-py3-none-any.whl (29 kB)
Collecting pyqt5==5.15.4
  Using cached PyQt5-5.15.4.tar.gz (3.3 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:\sources\personal\python\bpl\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:
-------------

Could anyone please give me advice where to find these tools?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220903/6566230f/attachment.htm>


More information about the PyQt mailing list