0

I am using a mac. I am trying to run a project through the script package on atom-editor but it gives me the following error:

  File "/Users/username/PycharmProjects/HelloWorld/main.py", line 1, in <module>
    import pygame, sys, random, time
ModuleNotFoundError: No module named 'pygame'
[Finished in 0.085s]

This error shows even though I have pygame installed and it works with my idle and PyCharm

Riffle X
  • 19
  • 2
  • 4
  • I think you will get the solution here [ImportError: No module named 'pygame'](https://stackoverflow.com/questions/18317521/importerror-no-module-named-pygame) – Vishnu Vinod Aug 23 '20 at 14:08
  • Hi I checked out the link you sent me and I don’t fully understand it cuz it is suggesting to download pygame but I already have it donloaded – Riffle X Aug 24 '20 at 12:41

0 Answers0