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

problems with pygame_gui on ubuntu #16

Open
cata884 opened this issue Jun 28, 2024 · 0 comments
Open

problems with pygame_gui on ubuntu #16

cata884 opened this issue Jun 28, 2024 · 0 comments

Comments

@cata884
Copy link

cata884 commented Jun 28, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant