Problem with installation
I have followed the installation of Nodebox OpenGL. I have placed my code: test.py in nodebox-gl-1.7. Inside that folder there are examples (folder), icon.png, nodebox (folder) and setup.py. I have placed nodbox-gl-1.7 folder in site-packages folder. This is the error after I run >>>> python test.py
Nareerats-MacBook-Pro:site-packages Joy$ python
/Library/Python/2.7/site-packages/nodebox-gl-1.7/test.py
2016-02-08 15:44:49.004 Python[16010:2414402]
ApplePersistenceIgnoreState: Existing state will not be touched.
New state will be written to
/var/folders/76/97v89fjx2r1cj90j0qrvbcr40000gn/T/org.python.python.savedState
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/nodebox-gl-1.7/test.py",
line 1, in from nodebox.graphics import * File
"/Library/Python/2.7/site-packages/nodebox-gl-1.7/nodebox/graphics/__init__.py",
line 1, in import bezier File
"/Library/Python/2.7/site-packages/nodebox-gl-1.7/nodebox/graphics/bezier.py",
line 10, in from context import BezierPath, PathElement, PathError,
Point, MOVETO, LINETO, CURVETO, CLOSE File
"/Library/Python/2.7/site-packages/nodebox-gl-1.7/nodebox/graphics/context.py",
line 29, in import geometry File
"/Library/Python/2.7/site-packages/nodebox-gl-1.7/nodebox/graphics/geometry.py",
line 454, in from pyglet.gl import \ ImportError: cannot import
name pointer
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Frederik De Ble... on 09 Feb, 2016 09:10 AM
It looks like Pyglet is missing. This is the library we use for working with OpenGL.
Could you try installing it from the command line. Normally this should work:
If you're missing pip as well, you can install that first, then install Pyglet:
Best,
F