0

I pip installed pygame and verified that it is on my system and installed correctly by running the following in the cmd and it ran the aleins games as it should.

>python -m pygame.examples.aliens

But when I try to import pygame with Spyder, I am getting a Module Not Found Error. I have double checked to ensure that I do not have more than one version of python installed to make sure that wasn't the issue, but it isn't since I only have the 1 version installed.

  • Maybe you are using the Spyder from the standalone installers? If that is the case you need to set the custom interpreter preference. More info about how to use packages with the standalone installers at the Spyder docs FAQ page: https://docs.spyder-ide.org/current/faq.html#using-existing-environment – Daniel Althviz Dec 28 '22 at 19:22

0 Answers0