Where to find pyqrc/pyrcc5 (pyqt5==5.15.7 / py3.10.1win32) ?
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:
> 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-220.127.116.11.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):
>> line 156, in prepare_metadata_for_build_wheel
>> hook = backend.prepare_metadata_for_build_wheel
>> AttributeError: module 'sipbuild.api' has no attribute
>> 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...
More information about the PyQt