[PyQt] Dependency on python3.dll

Barry barry at barrys-emacs.org
Fri Mar 31 22:09:01 BST 2017


Isn't the problem that the venv did not get a copy of a dll that is critical to the python3 world?

I don't see this as a problem with PyQt5 as it will affect others extentions right?
(i'm giessing this is becuase of the ABI build stuff).

Am I missing something?

Barry

> On 31 Mar 2017, at 16:13, Florian Bruhin <me at the-compiler.org> wrote:
> 
> Hi,
> 
> on Windows, when doing "from PyQt5 import QtCore" in a virtualenv
> without the Python installation folder being in PATH (like it's the case
> on the AppVeyor CI service), the import fails with "DLL load failed: The
> specified module could not be found.".
> 
> I found two ways to fix this:
> 
> - Copy C:\Python36\python3.dll (on AppVeyor) to
>  venv\Lib\site-packages\PyQt5
> - Add C:\Python36 to PATH
> 
> Is there anything PyQt can do about this?
> 
> Florian
> 
> -- 
> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
>   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
>         I love long mails! | http://email.is-not-s.ms/
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list