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

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


Ok, never mind, solved... just me being dumb, it seems this `pyqrc` tool
was one script I'd built 2 years ago and
forgot its existence lol, sorry for the noise ;)

On Sat, Sep 3, 2022 at 10:39 PM BPL <spscener84 at gmail.com> wrote:

> Sorry, it seems pyrcc5.exe is being already shipped in PyQt5.15.7 wheel
>
> $ pip uninstall pyqt5
> Found existing installation: PyQt5 5.15.7
> Uninstalling PyQt5-5.15.7:
>   Would remove:
>
> d:\sources\personal\python\bpl\venv\lib\site-packages\pyqt5-5.15.7.dist-info\*
>     d:\sources\personal\python\bpl\venv\lib\site-packages\pyqt5\*
>     d:\sources\personal\python\bpl\venv\scripts\pylupdate5.exe
>     d:\sources\personal\python\bpl\venv\scripts\pyrcc5.exe
>     d:\sources\personal\python\bpl\venv\scripts\pyuic5.exe
>
> It's just pyqrc the one missing in my virtualenv, ie:
>
> $ where pyqrc
> INFO: Could not find files for the given pattern(s).
>
> On Sat, Sep 3, 2022 at 10:22 PM BPL <spscener84 at gmail.com> wrote:
>
>> 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/a45b6e4f/attachment.htm>


More information about the PyQt mailing list