[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Where to find pyqrc/pyrcc5 (pyqt5==5.15.7 / py3.10.1win32) ?
From: BPL <spscener84 () gmail ! com>
Date: 2022-09-03 20:41:59
Message-ID: CAAfY3fYJ+mkJN+XZXrd1qaN7MaavbE_SRPwyZo46=5t2n-8WxA () mail ! gmail ! com
[Download RAW message or body]
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@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@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?
>>
>
[Attachment #3 (text/html)]
<div dir="ltr">Ok, never mind, solved... just me being dumb, it seems this `pyqrc` \
tool was one script I'd built 2 years ago and <div>forgot its existence lol, \
sorry for the noise ;)</div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Sat, Sep 3, 2022 at 10:39 PM BPL <<a \
href="mailto:spscener84@gmail.com">spscener84@gmail.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div>Sorry, it seems pyrcc5.exe is being already shipped in PyQt5.15.7 \
wheel</div><div><br></div>$ pip uninstall pyqt5<br>Found existing installation: PyQt5 \
5.15.7<br>Uninstalling PyQt5-5.15.7:<br> Would remove:<br> \
d:\sources\personal\python\bpl\venv\lib\site-packages\pyqt5-5.15.7.dist-info\*<br> \
d:\sources\personal\python\bpl\venv\lib\site-packages\pyqt5\*<br> \
d:\sources\personal\python\bpl\venv\scripts\pylupdate5.exe<br> \
d:\sources\personal\python\bpl\venv\scripts\pyrcc5.exe<br> \
d:\sources\personal\python\bpl\venv\scripts\pyuic5.exe<br><div><br></div><div>It's \
just pyqrc the one missing in my virtualenv, ie:</div><div><br></div><div>$ where \
pyqrc<br>INFO: Could not find files for the given pattern(s).<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 3, 2022 at 10:22 PM \
BPL <<a href="mailto:spscener84@gmail.com" \
target="_blank">spscener84@gmail.com</a>> wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi guys,<div><br></div><div>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:</div><div><br></div><div>pyqrc --include-files=*.png images \
> resources.qrc<br>pyrcc5 -o resources.py \
resources.qrc<br></div><div><br></div><div>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.</div><div><br></div><div>So, could anyone please give me advice? I've \
tried unsuccessfully using pyqt5-tools, crash \
below:</div><div><br></div><div>----------</div><div>$ pip install \
pyqt5-tools<br>Collecting pyqt5-tools<br> Using cached \
pyqt5_tools-5.15.4.3.2-py3-none-any.whl (29 kB)<br>Collecting pyqt5==5.15.4<br> \
Using cached PyQt5-5.15.4.tar.gz (3.3 MB)<br> Installing build dependencies ... \
done<br> Getting requirements to build wheel ... done<br> Preparing metadata \
(pyproject.toml) ... error<br> error: subprocess-exited-with-error<br><br> × \
Preparing metadata (pyproject.toml) did not run successfully.<br> │ exit code: \
1<br> ╰─> [29 lines of output]<br> Traceback (most recent call \
last):<br> 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<br> hook = \
backend.prepare_metadata_for_build_wheel<br> AttributeError: module \
'sipbuild.api' has no attribute \
'prepare_metadata_for_build_wheel'<br><br> During handling of the \
above exception, another exception \
occurred:<br></div><div>-------------</div><div><br></div><div>Could anyone please \
give me advice where to find these tools?</div></div> </blockquote></div>
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic