Comments (7)
This looks like a PyOpenGL issue.
The only OMGL code that has been run is the import from OpenGL import GL
.
If you open up a python REPL and just enter in that import, I'm sure you'll see the same error.
The last time I ran the code I didn't have any issues, so it looks like they've broken something.
I'd raise an issue, although they seem to use sourceforge..... for some god-forsaken reason.
You could try an older version:
https://pypi.python.org/pypi/PyOpenGL
Alternatively, you could try this code I found to disable their error checking code:
import OpenGL
OpenGL.ERROR_CHECKING = False
from omgl.
I had a fiddle around and got to an error about sub_mesh being missing
$ python examples/mesh.py
Traceback (most recent call last):
File "examples/mesh.py", line 37, in <module>
from omgl.mesh import Mesh
File "examples/../omgl/mesh/__init__.py", line 5, in <module>
from .sub_mesh import *
ImportError: No module named sub_mesh
Indeed there is no mesh/sub_mesh.py
I'm still going to try and break it in the original way again to see if I can track down whats happening there.
from omgl.
Ah yes, the old "still works because of lingering .pyc files", my nemesis.
from omgl.
Removed invalid import in 5c64cf1
from omgl.
I just did a fresh install from pypi of all dependencies and have no trouble running OMGL examples running Python 2.7 on OS-X.
from omgl.
Assuming closed
from omgl.
Confirming this works, cheers :)
from omgl.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omgl.