Well, I can't explain why it can't find items in GLUT.py as the items directory should be right there in the same directory. However, you won't be able to run anything inside of the items directory because they don't do anything themselves - they are just helper files for the GLUT program. When you get GLUT.py running, you will find that you can bring up a popup menu that allows you to change the current shape to one of the shapes you found down in the geometry directory.




On 7/24/06, Francisco Vila <francisco.vila@hispalinux.es> wrote:
Hi,

I am running Debian and have installed Python 2.4 and the python-opengl package.

When trying to run /usr/share/doc/python-opengl/Demo/suite/Glut.py that has the line:

        import items

the shell says: ImportError: No module named items

Also, trying to run any of the .py examples in
/usr/share/doc/python-opengl/Demo/suite/items/GLUT/geometry/

that have the line
        import items.GLUT.geometry

the python shell says:

        ImportError: No module named items.GLUT.geometry

What am I doing bad? thanks!

My version of the package is 2.0.1.09-2.2

--
Francisco Vila Doncel. Badajoz (Spain)
http://www.paconet.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
PyOpenGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyopengl-users