Re: [Tutor] getting ImportError: No module named beginners

2011-11-10 Thread Peter Otten
Nathaniel Trujillo wrote:

> First I typed help() into the python 3.1.1 interpreter and then I typed
> modules to see if there was a beginners module and it wasn't there but
> when I went into the
> C:\Python31\Lib\site-packages\livewires folder I saw the file beginners.py
> right there in front of my face. So here is the program I am trying to
> run...
> 
> # New Graphics Window
> # Demonstrates creating a graphics window
> from livewires import games
> games.init(sreen_width = 640, screen_height = 480, fps = 50)
> games.screen.mainloop()
> and here is the error message...
> 
> Traceback (most recent call last):
>   File "C:\Python31\new_graphics_window.py", line 4, in 
> from livewires import games
>   File "C:\Python31\lib\site-packages\livewires\__init__.py", line 30, in
> 
> from beginners import *
> ImportError: No module named beginners
> 
> Thanks for the help.

Are you talking about this software?

http://www.livewires.org.uk/python/package

Then you are trying to run it on an incompatible Python version. Quoting:

"""
The LiveWires package works with Python 2.x, but not (yet) with Python 3.x.
"""

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] getting ImportError: No module named beginners

2011-11-10 Thread Nathaniel Trujillo
First I typed help() into the python 3.1.1 interpreter and then I typed
modules to see if there was a beginners module and it wasn't there but when
I went into the
C:\Python31\Lib\site-packages\livewires folder I saw the file beginners.py
right there in front of my face. So here is the program I am trying to
run...

# New Graphics Window
# Demonstrates creating a graphics window
from livewires import games
games.init(sreen_width = 640, screen_height = 480, fps = 50)
games.screen.mainloop()
and here is the error message...

Traceback (most recent call last):
  File "C:\Python31\new_graphics_window.py", line 4, in 
from livewires import games
  File "C:\Python31\lib\site-packages\livewires\__init__.py", line 30, in

from beginners import *
ImportError: No module named beginners

Thanks for the help.
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor