Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1461

Need to install libopengl0 on Ubuntu to be able to use pyside6 widgets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.0.1
    • 6.0.0
    • PySide
    • None
    • Python 3.8.5, PySide6 6.0.0, Ubuntu 20.04
    • Linux/X11

      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)

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            sunyatazero Tord Dellsén
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes