Posts

Showing posts with the label pygame

Typing “import pygame” into Python 3.7.0 IDLE Shell raises ModuleNotFoundError after attempting to install Pygame 1.9.4

Image
Clash Royale CLAN TAG #URR8PPP Typing “import pygame” into Python 3.7.0 IDLE Shell raises ModuleNotFoundError after attempting to install Pygame 1.9.4 After experiencing some trouble with deprecated methods in Pygame 1.9.1 (see this question that I asked a few months ago), I finally got around to downloading/installing updated versions of Python as well as Pygame. I went to Start>Control Panel>Programs>Uninstall a Program and uninstalled both Python 3.1.4 and Pygame 1.9.1, then I successfully downloaded and installed Python 3.7.0 onto my computer. I tried to download and install Pygame 1.9.4, but there is no .msi link on Pygame.org's downloads page, only a .tar.gz link. I downloaded it and a free trial of WinZip to unzip it, and I thought everything had worked, until I typed import pygame into the shell and got an error traceback along with a message that read: ModuleNotFoundError: No module named 'pygame' . import pygame ModuleNotFoundError: No module named '...