Hello! I use linux-debian .
I use Standard Install (setuptools/egg based) and not work for glprint.py
Traceback (most recent call last):
File "glprint.py ", line 25, in ?
from OpenGLContext.wxinteractivecontext import wxInteractiveContext
line 2, in ?
from OpenGLContext import interactivecontext, wxcontext, context,
2, in ?
from OpenGLContext import context
File "/usr/lib/python2.4/site-packages/OpenGLContext/context.py", line 33,
from OpenGLContext import renderpass, visitor, texturecache
File "/usr/lib/python2.4/site-packages/OpenGLContext/renderpass.py", line
16, in ?
from OpenGLContext import visitor, rendervisitor, displaylist, frustum,
File "/usr/lib/python2.4/site-packages/OpenGLContext/visitor.py", line 3,
from OpenGLContext.scenegraph import nodepath
line 3, in ?
from vrml.vrml97 import nodepath, nodetypes
File "/usr/lib/python2.4/site-packages/vrml/vrml97/nodepath.py", line 4,
from vrml import nodepath
File "/usr/lib/python2.4/site-packages/vrml/nodepath.py", line 3, in ?
from vrml import node, weaktuple
File "/usr/lib/python2.4/site-packages/vrml/node.py", line 6, in ?
from vrml import field, fieldtypes, weaklist, weakkeydictfix
File "/usr/lib/python2.4/site-packages/vrml/field.py", line 2, in ?
from dispatch import dispatcher, robustapply
ImportError: cannot import name dispatcher
I try to install OpenGLContext-2.0.0c1 on my home directory , but i have
some problems .
First PyDispatcher-2.0.0 .
I put files from arhive over ~/OpenGLContext-2.0.0c1$ python setup.pyinstall
copying ./extensionmanager.py -> build/lib/pydispatch
copying ./tests/indexedlinesetobject.py -> build/lib/pydispatch/tests
copying ./tests/cubebackgroundobject.py -> build/lib/pydispatch/tests
copying ./tests/getteximage.py -> build/lib/pydispatch/tests
error: package directory './examples' does not exit
1.What is the correct method to install OpenGLContext on my debian ?
2.The text on site say :" OpenGLContext is a learning environment for
PyOpenGL. " but is so hard to install :(
From: Mike C. Fletcher <mcfletch@vr...> - 2008-01-02 04:30:42
Festila Catalin wrote:
> Hello! I use linux-debian .
> I use Standard Install (setuptools/egg based) and not work for glprint.py
glprint is a Win32-only demonstration (it's an adaptation of of a NeHe
tutorial that uses wgl* calls to render text). That said, the problems
you're encountering are not likely due to that issue. Setting up
OpenGLContext is rather difficult at the moment. I've just put together
.egg and source distributions for all of the dependencies and
registering them in the Python Package index.
The following *should* work, but hasn't been tested on a Linux machine
yet (just haven't had time to build a chroot or image in which to work):
OpenGLContext 2.1 (released today) is, incidentally, the first release
to be compatible with PyOpenGL 3.x. Eventually Debian might have an
OpenGLContext package, but until then the easy_install path is probably
the "correct" way.
> 1.What is the correct method to install OpenGLContext on my debian ?
> 2.The text on site say :" OpenGLContext is a learning environment for
> PyOpenGL. " but is so hard to install :(
Mike C. Fletcher
Designer, VR Plumber, Coder