Short version. How to configure PyQt4 configure.py to the SIP version installed in Virtual Env?
Long version: I know that variations on this question have been asked here about a million times, but I can not find the answer. I am trying to install SIP and PyQt4 in Virtual Env (VE). I can not install it in the main system, since it is a working computer. We have an older version of PyQt, so I canβt just copy from site packages.
I installed SIP in my VE (configure.py --incdir, make, make install), however, when I go to run configure on PyQt4, I get the error: Error: SIP v4.19.0 or later is required for this version of PyQt, I installed version 4.19.2. When running sipconfig, it tells me that it is still using the system version, even if VE is activated. How to tell configure.py for PyQt to use the package installed in VE?
Thanks everyone!
EDIT: In appearance, it looks like my VE is not pulling python libs from the right place, even when the VE is activated. I added a line to activate adding site packages and bin dirs paths and site packages to pythonpath without success. He still cannot find the correct libraries.
source share