[Tutor] getting ImportError: No module named beginners

Peter Otten __peter__ at web.de
Thu Nov 10 18:37:21 CET 2011

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 <module>
>     from livewires import games
>   File "C:\Python31\lib\site-packages\livewires\__init__.py", line 30, in
> <module>
>     from beginners import *
> ImportError: No module named beginners
> Thanks for the help.

Are you talking about this software?


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.

More information about the Tutor mailing list