I'm learning Python.
I have installed python 3.1.2 and I'm using idle for same.
I'm trying out PythonRecipes/HelloWorld using Idle but the very first line gives me an error.
'import pygtk' gives this error 'no module named pygtk'
I installed pyglet using synaptic.
This command 'import pyglet' gives the error 'no module named pyglet'.
I have been readingBuilt-in Package Support in Python 1.5
for ideas. I am guessing that the modules aren't where the program expects them to be but really I don't know. Syntax error?
Any help?
note: I get the same error when I use Terminal and open python3.1 but no error when I open python.
I would like to use the latest version of python.
Bookmarks