Install pyqt4 under virtualenv (Windows)

It is not the one packaged with pyqt4 and distutils, but it is only distributed by its own installer, so it cannot be installed under virtualenv.

Maybe I should build it myself, but I don't want to work that hard, and I wonder if it's possible to specify --system-site-package just for PyQt4.

Therefore, install it with the installer for the time being, and copy the necessary files to virtualenv by hand.

The files and folders that must be copied are as follows.

Since qt.conf must be in the same folder as python.exe, copy it under Scripts and rewrite the path written inside to the path under virtualenv.

It usually works without copying qt.conf, but if I forget this, I'm addicted to the svg icon not being displayed.

Recommended Posts

Install pyqt4 under virtualenv (Windows)
Install virtualenv
Pip install (Windows) under Proxy environment
Install Python on Windows + pip + virtualenv
Install easy_install (Windows)
Install Anaconda on Windows 10
Install python on windows
Install pycuda on Windows10
Install pygraphviz on Windows 10
Install Chainer 1.5.0 on Windows
Install Python (for Windows)
Set-enable Python virtualenv on Windows
How to install Python [Windows]
Install watchdog on Windows + Python 3.3
Install Python and Flask (Windows 10)
Install Win-Kex (kali-linux) on Windows 10.
Windows10: Install python dlib library
Install cvxpy on windows, Anaconda
Install Chainer 1.6 (GPU) on Windows 7.
Python environment construction under Windows7 environment
[Python] [Chainer] [Windows] Install Chainer on Windows
Python install in 2 lines @Windows
Install dlib for Python (Windows)
Pip install --ugrade pip fails on Windows
Install python2.7 on windows 32bit environment
Build and install OpenCV on Windows
Install Pytorch on Blender 2.90 python on Windows
How to install pycrypto on Windows
Windows10: Install MeCab library in python
Install Python development environment on Windows 10
Install PyStan on Windows without Anaconda
How to install music 21 on windows
[Python Windows] pip install with Python version
Install easy_install and pip on windows