Problem with installation

Joy's Avatar

Joy

08 Feb, 2016 02:50 PM

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

  1. Support Staff 1 Posted by Frederik De Ble... on 09 Feb, 2016 09:10 AM

    Frederik De Bleser's Avatar

    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:

    sudo pip install pyglet
    

    If you're missing pip as well, you can install that first, then install Pyglet:

    sudo easy_install pip
    sudo pip install pyglet
    

    Best,

    F

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

16 Dec, 2017 01:04 AM
10 Dec, 2017 10:51 AM
05 Dec, 2017 06:09 AM
04 Dec, 2017 09:49 PM
02 Dec, 2017 10:19 PM

 

29 Nov, 2017 02:31 AM
28 Nov, 2017 06:25 PM
28 Nov, 2017 08:29 AM
27 Nov, 2017 01:11 AM
26 Nov, 2017 06:58 AM
19 Nov, 2017 10:33 PM