1

I want to use pygames mouse functions, but i cant get it to work. In terminal, i used pip install pygame. It said that the module was already installed. I decided to import pygame in the shell to test it. but it returned

Traceback (most recent call last):
    File "/Users/GAMEKNIGHT7/Desktop/genius 
hour/chineseCheckersAI.py", line 13, in <module>
    import pygame
ModuleNotFoundError: No module named 'pygame'

What happened??

F. Zeng
  • 85
  • 1
  • 2
  • 11

0 Answers0