[Tutor] Module / import problem

Bruce Sass bsass@freenet.edmonton.ab.ca
Wed, 27 Jun 2001 01:40:00 -0600 (MDT)


On Tue, 26 Jun 2001, Rob Hayes wrote:
> I am very new to python and programing.  About half way through my first online
> tutorial.  On a break from my lesson, I downloaded and installed pygame.
>
> I opened the "chimp example" in IDLE.  When I ran the program, I get an
> import error.
>
> import pygame, pygame.font, pygame.image, pygame.mixer
> ImportError: No module named pygame
>
> I think my install of pygame was incorrect?  Any help on what I am doing wrong
> would be appreciated.  If this is the wrong list for the this question, please
> point me in the right direction.

Is pygame installed where python can find it,
i.e., in one of the directories listed when you do...
	import sys ; sys.path
?

If not...
either reinstall in the sys.path,
or append where it did install to sys.path.

If so, or which of the above is best in this case
and how to do it on a MS system,
I dunno.


- Bruce