Paul > Well, I successfully installed pyglet1.2 along with the newest version of python, however I'm now unable to use cocos :( When running setup.py install I get a very long list of syntax errors, and cannot cocos later.
Is it not allowed to install cocos on python 3.x? claudio> no, at the moment cocos needs python 2.x On Mon, May 27, 2013 at 1:35 AM, Paul Pittlerson <[email protected]>wrote: > I reverted back to python 2.7, and everything *seemed *to install > correctly. I don't get any errors when importing pyglet. > > BUT when importing cocos, I get a pyglet error! : > Traceback (most recent call last): > File "<pyshell#5>", line 1, in <module> > import pyglet.gl > File "C:\Python27\lib\site-packages\pyglet\gl\__init__.py", line 101, in > <module> > from pyglet.gl import gl_info > ImportError: cannot import name gl_info > How are you running / what are you running ? Importing from a shell sometimes fails. What happens if you run one of the cocos test from a command console ? Also, the pyglet samples run on that system ? I see you are on windows. pyglet 1.2 + cocos [ 0.4 , 0.5.5] worked for me on python 32bits 2.6, 2.7 on win xp 32bits, win7 32bits > Will try to install the 32bit version of python (why on earth do I have to > use the oldest version?), > So, the traceback was in a 64 bits python ? Which variant of windows xp, vista, win7 ? > and install everything all over again. I have a weird feeling of dejavu, > and am guessing the next problem is that pyglet1.2 is incompatible with > python2.X, which would explain why I'm using 1.1.4. Let's see.. > -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" 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/cocos-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
