[Tutor] Module / import problem
Rob Hayes
rsh@hctc.com
Tue, 26 Jun 2001 11:07:01 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_002C_01C0FE30.1FBC66E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
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.=20
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.
Thanks Rob...
------=_NextPart_000_002C_01C0FE30.1FBC66E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I am very new to python and =
programing. About=20
half way through my first online</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>tutorial. On a break from my =
lesson, I=20
downloaded and installed pygame.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I opened the "chimp example" in =
IDLE. When I=20
ran the program, I get an</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>import error. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>import pygame, pygame.font, =
pygame.image,=20
pygame.mixer<BR>ImportError: No module named pygame</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I think my install of pygame was =
incorrect? =20
Any help on what I am doing wrong</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>would be appreciated. If this is =
the wrong=20
list for the this question, please</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>point me in the right =
direction.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks =
Rob...<BR></DIV></FONT></BODY></HTML>
------=_NextPart_000_002C_01C0FE30.1FBC66E0--