I've been able to install PySide6 without problems and successfully ran import PySide6.QtCore without issues
However when i tried import PySide6.QtWidgets i got the following error: ImportError: libOpenGL.so.0: cannot open shared object file: No such file or directory
To fix this i had to run sudo apt install libopengl0 -y
***
(I'm not sure if this is an Ubuntu issue or a Pyside issue, but when asking in the pyside2 chat on gitter altendky suggested reporting this issue here)
- is duplicated by
- 
                    PYSIDE-1547 OpenGL not installed on Ubuntu -         
- Closed
 
-         
- resulted in
- 
                    QTBUG-89754 Reg->6.0/Linux/CMake build : QtGui has dependency on libopengl0 and opengl headers -         
- Open
 
-