0

I have python 2.7.13 32 bit with pygame 1.9.1 and I use textwrangler as my IDLE. But everytime I try to import pygame, this pops up

File "/Users/aaron/Documents/Made-Games/PyGames/First/first.py", line 3, in import pygame ImportError: No module named pygame

  • you mean IDE (Integrated Development Environment) - IDLE is one of IDE (or rather "almost" IDE) – furas Jan 17 '17 at 03:19
  • did you try to run it outside textwrangler - directly in console/terminal `python first.py` ? Maybe you have two Pythons - in one you have PyGame installed but textwrangler uses other to run your code. Every Python has own folder for modules and you have install modules in all version separetally. – furas Jan 17 '17 at 03:24

0 Answers0