Closed W5DEV closed 3 months ago
This is the same issue as discussed here: https://github.com/MyreMylar/pygame_gui/issues/587
I also had this, in my case I unknowingly had both pygame and pygame-ce installed in the environment I was using. The solution was to first uninstall pygame AND uninstall pygame-ce, and THEN install pygame-ce in the environment.
Dependent on what exactly your situation is, this should hopefully fix things for you the same way it did for me!
This is the same issue as discussed here: #587
I also had this, in my case I unknowingly had both pygame and pygame-ce installed in the environment I was using. The solution was to first uninstall pygame AND uninstall pygame-ce, and THEN install pygame-ce in the environment.
Dependent on what exactly your situation is, this should hopefully fix things for you the same way it did for me!
This was the fix that solved my issue. I had regular pygame installed as well. Uninstalled both, reinstalled pygame-ce and it worked.
Describe the bug When using the Quick Start Guide, I am constantly getting the following error:
ImportError: cannot import name 'DIRECTION_LTR' from 'pygame'
I am using an M1 Macbook Pro and my code is exactly as the quick start guide shows, with corrected formatting.
Quick Start Guide Code:
My Code:
To Reproduce Steps to reproduce the behavior:
Expected behaviour I expect that when I run the next block of code (or any code with pygame_gui imported), I don't get any bugs. This code, for example, should render the window with a button. However it also crashes:
Screenshots If applicable, add screenshots to help explain your problem.
Platform and software (please complete the following information):
Additional context
Traceback: