Fehler bei der Installation von Pygame in Pycharm
Verfasst: Samstag 30. Oktober 2021, 12:36
Moin,
Ich weiß Ihr habt die Frage schon oft genug gelesen aber ich werde auch aus den anderen Beiträgen nicht schlau...
Ich habe Pygame in PyCharm installiert aber sobald ich :
import pygame
pygame.init()
eingebe, folgt nur diese Fehlermeldung..
Traceback (most recent call last):
File "C:\Users\noahh\PycharmProjects\Erstes_Programm.py\pygame.py", line 1, in <module>
import pygame
File "C:\Users\noahh\PycharmProjects\Erstes_Programm.py\pygame.py", line 3, in <module>
pygame.init()
AttributeError: partially initialized module 'pygame' has no attribute 'init' (most likely due to a circular import)
Vielleicht kann mir ja jemand von euch hier helfen. Schonmal Danke im voraus.
Ich weiß Ihr habt die Frage schon oft genug gelesen aber ich werde auch aus den anderen Beiträgen nicht schlau...
Ich habe Pygame in PyCharm installiert aber sobald ich :
import pygame
pygame.init()
eingebe, folgt nur diese Fehlermeldung..
Traceback (most recent call last):
File "C:\Users\noahh\PycharmProjects\Erstes_Programm.py\pygame.py", line 1, in <module>
import pygame
File "C:\Users\noahh\PycharmProjects\Erstes_Programm.py\pygame.py", line 3, in <module>
pygame.init()
AttributeError: partially initialized module 'pygame' has no attribute 'init' (most likely due to a circular import)
Vielleicht kann mir ja jemand von euch hier helfen. Schonmal Danke im voraus.