If you install PyQt4 on Windows, files wind up here by default:
but it also leaves a file here:
If you copy the both the sip.pyd and PyQt4 folder into your virtualenv things will work fine.
Then with windows explorer copy from
C:\Python27\Lib\site-packages the file (sip.pyd) and folder (PyQt4) mentioned above to
Then back at CLI:
The problem with trying to launch a script which calls PyQt4 from within virtualenv is that the virtualenv does not have PyQt4 installed and it doesn’t know how to reference the default installation described above. But follow these steps to copy PyQt4 into your virtualenv and things should work great.