Re: [PyOpenGL-Users] Shader doesn't compile with Python 3
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2013-05-30 17:11:33
|
On 13-05-29 12:23 PM, Matt Williams wrote: > On 29 May 2013 06:53, Gabriele Lanaro <gab...@gm...> wrote: >> I'm having the same problem in python 3 (not being able to compile the >> shaders because it gets an invalid literal). Did you find any actual >> workaround for that? > The only solution I found was to update to the latest version in bzr. > Have you tried that? > > I agree that it's not an ideal solution but it worked for me. I've released a 3.1.0a1 on PyPi (hidden, so they are not automatically installed when users ask to install PyOpenGL). You should be able to pull the equivalent of bzr head with: pip install "PyOpenGL==3.1.0a1" "PyOpenGL-accelerate==3.1.0a1" with the caveat that those are source-code only releases at the moment, so your target platform will need a Python-module compilation environment available. The tarballs include the still-in-process egl and es[1,2,3] packages, those are *not* ready for *any* use. HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |