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

18 Nov, 2024 11:24 PM
18 Nov, 2024 09:01 PM
07 Nov, 2024 10:53 AM
02 Nov, 2024 11:22 AM
01 Nov, 2024 12:41 AM

 

01 Oct, 2024 07:59 AM
30 Sep, 2024 11:37 PM
30 Sep, 2024 11:11 AM
30 Sep, 2024 02:37 AM
28 Sep, 2024 10:33 AM
26 Sep, 2024 06:41 AM