Can't import default pyqt6 wheels on windows

Patrick Stinson patrickkidd at gmail.com
Fri Dec 15 07:28:03 GMT 2023


I might add that this was done in a virtual environment created by pipenv. Looks like it works when using the system installed python.

> On Dec 14, 2023, at 5:41 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> I get a DLL linking error with a clean python 3.9.13 install and "pip install pyqt6" on windows. This occurs on every machine I try it on in our lab, whether windows 10 or windows 11. Installing "pyqt6-tools" gets me going for just pyqt6. I am doing a lot of pretty basic stuff so I am not tied to a particular pyqt6 or Qt6 version.
> 
> Now I want to use pyqt6-charts and I am getting the DLL error again: "DLL load failed while importing QtCharts: the specified procedure can't be found."
> 
> Are the pyqt6 wheels all really broken? Is it my python version? The wheels do include the qt binaries so what is going on? This problem is easily reproducible so I thought there might be a straightforward answer here.
> 
> Cheers
> -Patrick


More information about the PyQt mailing list