I installed PyQt5 globally on my win7 system (python 3.3), using the installer provided from the official riverbank website.
Then i created a new –no-site-package
Anon's solution of adding a Qt libraryPath worked for me. I am using Anaconda3 on Windows. But I found an alternative.
Copy the file …\Anaconda3\qt.conf
to the Scripts
folder in the virtual environment. Now I don't need to change any Python code.
The conf file seems to have been created by …\Anaconda3\Scripts\.qt-post-link.bat
.