Personal sandpit for QT for Python
Use a virtual environment: $ python3 -m venv . $ source bin/activate
Install PySide2: $ pip3 install pyside2
You should now be able to import 'PySide2' in Python: $ python3
import PySide2
If you get no errors above then PySide2 is installed successfully.
Since PySide2 was installed using a virtual environment, you can view the packaged examples in the library/ directory. Run the 'simple3d.py' example:
$ python3 lib/python3.6/site-packages/PySide2/examples/3d/simple3d.py