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

No module named 'OpenGL' when running quick/rendercontrol/rendercontrol_opengl and quick/scenegraph/openglunderqml/ examples

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.5
    • Other
    • None

    Description

      Pyside 6.5.9

      Src/examples/quick/scenegraph/openglunderqml/squirclerenderer.py

      quick/rendercontrol/rendercontrol_opengl/window_singlethreaded.py

      When running:

      /home/qt/RTA/Pyside_6.5.9/.venv/bin/python3 /home/qt/RTA/Pyside_6.5.9/QtForPython/6.5.9/Src/examples/quick/rendercontrol/rendercontrol_opengl/main.py

      It gives:

        File "/home/qt/RTA/Pyside_6.5.9/QtForPython/6.5.9/Src/examples/quick/rendercontrol/rendercontrol_opengl/main.py", line 8, in <module>
          from window_singlethreaded import WindowSingleThreaded
        File "/home/qt/RTA/Pyside_6.5.9/QtForPython/6.5.9/Src/examples/quick/rendercontrol/rendercontrol_opengl/window_singlethreaded.py", line 7, in <module>
          from OpenGL.GL import (GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER,
      ModuleNotFoundError: No module named 'OpenGL'

      Attachments

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

        Activity

          People

            falt Simo Fält
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes