Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

problems with pygame_gui on ubuntu #16

Description

@cata884

Thermal-Image-Analysis-master$ python3 main.py

pygame 2.6.0 (SDL 2.28.4, Python 3.12.3)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/home/user/Thermal-Image-Analysis-master/main.py", line 9, in
import pygame_gui as pygui
File "/home/user/.local/lib/python3.12/site-packages/pygame_gui/init.py", line 7, in
from pygame_gui.ui_manager import UIManager
File "/home/user/.local/lib/python3.12/site-packages/pygame_gui/ui_manager.py", line 8, in
from pygame_gui.core.interfaces import IUIManagerInterface
File "/home/user/.local/lib/python3.12/site-packages/pygame_gui/core/init.py", line 1, in
from pygame_gui.core.ui_appearance_theme import UIAppearanceTheme
File "/home/user/.local/lib/python3.12/site-packages/pygame_gui/core/ui_appearance_theme.py", line 11, in
from pygame_gui.core.interfaces.gui_font_interface import IGUIFontInterface
File "/home/user/.local/lib/python3.12/site-packages/pygame_gui/core/interfaces/init.py", line 2, in
from pygame_gui.core.interfaces.font_dictionary_interface import IUIFontDictionaryInterface
File "/home/user/.local/lib/python3.12/site-packages/pygame_gui/core/interfaces/font_dictionary_interface.py", line 2, in
from pygame import DIRECTION_LTR
ImportError: cannot import name 'DIRECTION_LTR' from 'pygame' (/home/user/.local/lib/python3.12/site-packages/pygame/init.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions