Hello Oliver, it sounds that your setup could get some improvement by using Virtual environments [1]. Have you consider to have different environment for different purposes? Then, you can just activate what you want
Cheers [1] https://virtualenv.pypa.io/en/latest/ ________________________________________ From: PySide <[email protected]> on behalf of Olivier B. <[email protected]> Sent: 22 January 2019 11:06:56 To: [email protected] Subject: [PySide] Multiple PySide for Multiple Qt in a same python install? I am preparing to build an new Qt version. So i will build a new PySide2 with it. So the problem will happen of having multiple PySide versions useable in python depending on the Qt i want to use. The Python install also has a matplotlib module, which uses PySide2 as backend I did not manage to install PySide2 outside of python site-packages/PySide2 using setup.py, so i manually move it and use pth files so each PySide version will have its own storage folder. But then, i would like that python loads the proper PySide depending on the current Qt i choose to use. I have a QT_VERSION environment variable during python sessions. I could maybe add a different site dir in PySide's sitecustomize.py that i created, that depends on that QT_VERSION What means do you people have in place to switch Qt/PySide2 versions? _______________________________________________ PySide mailing list [email protected] https://lists.qt-project.org/listinfo/pyside _______________________________________________ PySide mailing list [email protected] https://lists.qt-project.org/listinfo/pyside
