The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox OpenGLArchiveFrom the old forum

Problem with installation

1 reply Last reply

  1. 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 <module>
    from nodebox.graphics import *
    File "/Library/Python/2.7/site-packages/nodebox-gl-1.7/nodebox/graphics/init.py", line 1, in <module>
    import bezier
    File "/Library/Python/2.7/site-packages/nodebox-gl-1.7/nodebox/graphics/bezier.py", line 10, in <module>
    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 <module>
    import geometry
    File "/Library/Python/2.7/site-packages/nodebox-gl-1.7/nodebox/graphics/geometry.py", line 454, in <module>
    from pyglet.gl import
    ImportError: cannot import name pointer

    Copy link
  2. NodeBox team

    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

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply