[Tutor] Using graphics
Dave Angel
davea at davea.name
Mon May 6 03:13:36 CEST 2013
Please reply to the list, not to an individual, unless the response is
personal, or something like a thank-you. Also, please put your response
*after* whatever you're quoting, and use the feature in your mail that
uses the carets to mark quoted portions.
On 05/05/2013 09:17 AM, Stafford Baines wrote:> Thank you for your very
prompt reply. As suggested I include complete error
> message. The paths quoted
> In the error message look very circuitous. I don't know why this
should be
> as all the files I have put into
> One folder C:\Python33 which includes livewires which in it's turn
contains
> games.py and the other modules called. Can you spot any obvous mistakes?
>
> Stafford
>
> Traceback (most recent call last):
> File
"C:\CGSB\Python\py3e_source\chapter11\new_graphics_window.py", line
> 4, in <module>
> from livewires import games
> File "C:\Python33\livewires\games.py", line 57, in <module>
> import pygame, pygame.image, pygame.mixer, pygame.font,
pygame.transform
> ImportError: No module named 'pygame.image'
I expect that livewires thinks it can import pygame, and that you
haven't installed that yet. Didn't the book tell you what dependencies
to install?
--
DaveA
--
DaveA
More information about the Tutor
mailing list