######Thanks for the reply. I appreciate the help. Unfortunately, I still
didn't get it to work. I tried what you suggested using Python 3.3.3 and
several versions of Pyglet including 1.1.4, 1.2 Alpha, and the latest from
the official trunk repository. I did the following each time:
######Rename and place folder named "Pyglet" at C:\
######type the following into command prompt:
cd c:\Pyglet
python setup.py install
######I also tried the following:
cd c:\Pyglet
python setup.py build
######And lastly:
cd c:\Pyglet
python setup.py build
python setup.py install
In the end, I tested it as follows:
>>> import pyglet
>>> window=pyglet.window.Window()
Traceback (most recent call last):
File "C:\Python33\lib\site-packages\pyglet\__init__.py", line 332, in
__getattr__
return getattr(self._module, name)
AttributeError: 'NoneType' object has no attribute 'Window'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
window=pyglet.window.Window()
File "C:\Python33\lib\site-packages\pyglet\__init__.py", line 338, in
__getattr__
__import__(import_name)
File "C:\Python33\lib\site-packages\pyglet\window\__init__.py", line 133,
in <module>
from pyglet.gl import gl_info
File "C:\Python33\lib\site-packages\pyglet\gl\__init__.py", line 101, in
<module>
from pyglet.gl import gl_info
ImportError: cannot import name gl_info
######Then I tried running a full piece of code, the "Hello world" example
in the first post and got the following result:
>>> ================================ RESTART
================================
>>>
Traceback (most recent call last):
File "C:\Python33\lib\site-packages\pyglet\__init__.py", line 332, in
__getattr__
return getattr(self._module, name)
AttributeError: 'NoneType' object has no attribute 'Window'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Noah\Desktop\pygtest.py", line 2, in <module>
window = pyglet.window.Window()
File "C:\Python33\lib\site-packages\pyglet\__init__.py", line 338, in
__getattr__
__import__(import_name)
File "C:\Python33\lib\site-packages\pyglet\window\__init__.py", line 133,
in <module>
from pyglet.gl import gl_info
File "C:\Python33\lib\site-packages\pyglet\gl\__init__.py", line 215, in
<module>
from .win32 import Win32Config as Config
File "C:\Python33\lib\site-packages\pyglet\gl\win32.py", line 4, in
<module>
from pyglet.canvas.win32 import Win32Canvas
File "C:\Python33\lib\site-packages\pyglet\canvas\__init__.py", line 98,
in <module>
from pyglet.canvas.win32 import Win32Display as Display
File "C:\Python33\lib\site-packages\pyglet\canvas\win32.py", line 6, in
<module>
from pyglet.libs.win32 import _kernel32, _user32, types, constants
File "C:\Python33\lib\site-packages\pyglet\libs\win32\__init__.py", line
7, in <module>
import constants
ImportError: No module named 'constants'
######Not sure what's going wrong. gl_info is in
C:\Python33\Lib\site-packages\pyglet\gl and constants is
in C:\Python33\Lib\site-packages\pyglet\libs\win32 I read in numerous
places that Pyglet only needs open gl and Python, but am I missing
something else? ######Anyways, thanks for all of the help so far. I truly
appreciate it and am looking forward to finally solving this and getting to
work coding. I'm a command prompt noob, so if I forogt to type something
there that might explain it. If nothing else, does anyone have a
######recommendation for a version of pyglet and a version of python that
is indeed compatible? Perhaps I'm mismatching.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.