I\'m using Virtualenv with profit on my development environment with web.py, simplejson and other web oriented packages. I\'m going to develop
web.py
simplejson
Easiest way is to install this : vext.pyqt4
This will add the single system PyQt4 package to your virtualenv.
PyQt4
Ubuntu 16.04 usage:
sudo apt install python3-pyqt4 mkvirtualenv --python=python3.5 venv pip install --no-use-wheel vext.pyqt4