[PyQt] Dependency on python3.dll

Florian Bruhin me at the-compiler.org
Fri Mar 31 16:13:21 BST 2017


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170331/5aa110d4/attachment.sig>


More information about the PyQt mailing list