Building PyQt5-5-15.9.tar.gz with python 3.10

Phil Thompson phil at riverbankcomputing.com
Sat Jul 15 09:10:03 BST 2023


On 14/07/2023 17:43, Sergey Kurdakov wrote:
> Hello,
> 
> so I wanted to try PyQt5, since I have python 3.10 I looked for whl
> packages,
> which were absent, only for python 3.7

Did you actually try "pip install PyQt5"?

I suspect that you are misunderstanding the meaning of wheel file names.

> OK, then I could build the package by myself?
> python -m pip install PyQt5-5-15.9.tar.gz
> 
> I installed sip 6.7.9 and also tried sip 6.7.10.dev
> I get ModuleNotFoundError: No module named 'sipbuild'
> 
> I tried to extended my PYTHONPATH to include path to sipbuild in
> site-packages
> (C:\Python310\Lib\site-packages;C:\Python310\Lib\site-packages\sipbuild)
> but it does not help
> 
> however if I launch python shell I could import sipbuild
> 
> Is there any hope to build PyQt5 on python 3.10?

The instructions are here...

https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html#building-and-installing-from-source

Phil


More information about the PyQt mailing list