Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rez-gui: ModuleNotFoundError: No module named 'Qt' #1903

Open
beatreichenbach opened this issue Jan 2, 2025 · 0 comments
Open

rez-gui: ModuleNotFoundError: No module named 'Qt' #1903

beatreichenbach opened this issue Jan 2, 2025 · 0 comments
Labels

Comments

@beatreichenbach
Copy link

Describe the bug here.

Environment

  • Rocky Linux 8.10
  • Rez version 3.2.1
  • Rez python version 3.11.9

To Reproduce

rez-gui

Error:

[beat@... ~]$ rez-gui context.rxt
Traceback (most recent call last):
  File ".../rez/bin/rez/rez-gui", line 8, in <module>
    sys.exit(run_rez_gui())
             ^^^^^^^^^^^^^
  File ".../rez/lib64/python3.11/site-packages/rez/cli/_entry_points.py", line 155, in run_rez_gui
    return run("gui")
           ^^^^^^^^^^
  File ".../rez/lib64/python3.11/site-packages/rez/cli/_main.py", line 189, in run
    returncode = run_cmd()
                 ^^^^^^^^^
  File ".../rez/lib64/python3.11/site-packages/rez/cli/_main.py", line 181, in run_cmd
    return func(opts, opts.parser, extra_arg_groups)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../rez/lib64/python3.11/site-packages/rez/cli/gui.py", line 24, in command
    from rezgui.app import run
  File ".../rez/lib64/python3.11/site-packages/rezgui/app.py", line 5, in <module>
    from rezgui.objects.App import app
  File ".../rez/lib64/python3.11/site-packages/rezgui/objects/App.py", line 5, in <module>
    from Qt import QtCore, QtWidgets, QtGui
ModuleNotFoundError: No module named 'Qt'

To fix:

  • Install legacy Qt.py
  • Install PySide2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant