attreyabhatt / Space-Invaders-Pygame

Creating the game Space Invaders using Pygame Module in Python
322 stars 332 forks source link

error #33

Open abinash25 opened 3 years ago

abinash25 commented 3 years ago

C:\Users\LENOVO\anaconda3\python.exe C:/Users/LENOVO/Downloads/Space-Invaders-Pygame-master/Space-Invaders-Pygame-master/main.py C:/Users/LENOVO/Downloads/Space-Invaders-Pygame-master/Space-Invaders-Pygame-master/main.py:121: SyntaxWarning: "is" with a literal. Did you mean "=="? if bullet_state is "ready": C:/Users/LENOVO/Downloads/Space-Invaders-Pygame-master/Space-Invaders-Pygame-master/main.py:177: SyntaxWarning: "is" with a literal. Did you mean "=="? if bullet_state is "fire": Traceback (most recent call last): File "C:/Users/LENOVO/Downloads/Space-Invaders-Pygame-master/Space-Invaders-Pygame-master/main.py", line 4, in import pygame ModuleNotFoundError: No module named 'pygame'

Process finished with exit code 1

Max-Harold commented 3 years ago

I guess you need to replace "is" with "=="

tirkarthi commented 3 years ago

PR : https://github.com/attreyabhatt/Space-Invaders-Pygame/pull/25

danielius200629 commented 3 years ago

i get the same error

tirkarthi commented 3 years ago

@danielius200629 it seems pygame is not installed and my reply was towards the syntax warning. Please try installing pygame to fix this.

abinash25 commented 3 years ago

Please install pygame.

On Mon, Jan 4, 2021, 7:00 PM Karthikeyan Singaravelan < notifications@github.com> wrote:

@danielius200629 https://github.com/danielius200629 it seems pygame is not installed and my reply was towards the syntax warning. Please try installing pygame to fix this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/attreyabhatt/Space-Invaders-Pygame/issues/33#issuecomment-753975523, or unsubscribe https://github.com/notifications/unsubscribe-auth/AREWSCVSCKAUQHSDFIAEAC3SYG7HBANCNFSM4TNVCYLQ .