0

i have successfully installed pygames and now i want to import it in my project but it is showing an error .

Traceback (most recent call last):
  File "F:/game/main.py", line 1, in <module>
    import pygame
ModuleNotFoundError: No module named 'pygame'

on reinstalling it is showing this

F:\game>python -m pip install -U pygame --user
Requirement already up-to-date: pygame in c:\users\my loptop\appdata\roaming\python\python36\site-packages
You are using pip version 9.0.1, however version 20.0.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

0 Answers0