windows 7 - Loading specific PyQt4 modules with multiple python versions -


i have problem multiple python install on win7 system. have python2.6.4 , python3.1. each of them have different pyqt4 version installed in site-packages directories. more specific:

python2.6.4 pyqt4 4.7.3
python3.1 pyqt4 4.8.2

the problem cant seem import pyqt4 within of these versions. problem of path conflict.

i removed path path environment variable , tried set them each python versions via :

  • [.pth] files in each version site-packages folders
  • adding manually pyqt4 folder in sys.path within scripts before importing none worked

the way found makes work add pyqt4 folders in system env path not convenient have change manually each time switch of python version.

what doing wrong ?


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -