It should be enough to create an empty virtualenv and then copy the contents of the .../site-packages/PyQt4
directories into it.
I suggest to install PyQt4 once globally, make a copy of the directory, uninstall it and then use this trick to create VEs.
More Related Contents:
- PySide / PyQt detect if user trying to close window
- What is the easiest way to remove all packages installed by pip?
- “Cannot open include file: ‘config-win.h’: No such file or directory” while installing mysql-python
- PyLint “Unable to import” error – how to set PYTHONPATH?
- How to install psycopg2 with “pip” on Python?
- PyQt4 Wait in thread for user input from GUI
- How do you set your pythonpath in an already-created virtualenv?
- PyQT: how to open new window
- Is there a difference between QFileDialog strings in PyQt4 and PyQt5?
- QWidget does not draw background color
- Broken references in Virtualenvs
- Where should virtualenvs be created?
- Revert the `–no-site-packages` option with virtualenv
- How to specify install order for python pip?
- Django server killed frequently
- argument 1 has unexpected type ‘Ui_mainWindow’
- PyQt window closes immediately after opening
- psycopg2 installation error – Library not loaded: libssl.dylib
- How to enable Pan and Zoom in a QGraphicsView
- Using (Ana)conda within PyCharm
- PyQt4 to PyQt5 -> mainFrame() deprecated, need fix to load web pages
- Clear all widgets in a layout in pyqt
- ‘virtualenv’ is not recognized as an internal or external command, operable program or batch file
- How can I create the minimum size executable with pyinstaller?
- Trying to create a virtualenv in python and activate it
- What is the difference between pyenv, virtualenv, anaconda?
- Setting Mac OSX Application Menu menu bar item to other than “Python” in my python Qt application
- PyQt4 center window on active screen
- Using VirtualEnv with multiple Python versions on windows
- “Failed building wheel for psycopg2” – MacOSX using virtualenv and pip