1

I am having trouble getting pygame running. I opened python 2.7.8 through idle. I downloaded pygame. when I try to import pygame I get this error. What am I doing wrong? Thank You!

import pygame

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import pygame
ImportError: No module named pygame
Rex Nihilo
  • 604
  • 2
  • 7
  • 16
  • Do you have both the system and another version of Python installed? Did you use Brew or Macport? – dawg Jul 23 '14 at 14:40
  • How did you install pygame and python 2.7? – mmmmmm Jul 23 '14 at 14:41
  • Yes I have the system version of Python 2.7.1 and the 2.7.8 version I downloaded. – DieselTruckGuy22 Jul 25 '14 at 05:40
  • I downloaded the .dmg file from python.org, and installed it using the disk symbol. I am running the 32 bit version of python 2.7.8 as I read the 64 bit version can cause problems with pygame – DieselTruckGuy22 Jul 25 '14 at 05:43
  • I downloaded the .mpkg file and ran it to install pygame. I have been through most of a learning module on python. I apologize for being so new to this, I am just trying to learn :-) Thank you all for your help! – DieselTruckGuy22 Jul 25 '14 at 05:46

0 Answers0