#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    11
    Rep Power
    0

    PyOpenGL install problem winXP


    Hi, I'm having troubles getting PyOpenGL installed. I installed all of the dependant packages (GLUT, numpy etc) and when I run "python setup.py install" i get

    package init file 'OpenGL\Demo\NeHe\__init__.py' not found (or not a regular fil
    e)
    package init file 'OpenGL\Demo\GLUT\examples\__init__.py' not found (or not a re
    gular file)
    package init file 'OpenGL\Demo\GLE\__init__.py' not found (or not a regular file
    )

    i tried including C:\Python23\OpenGL\ in the env. var. path but it didnt help. Turns out all the __init__.py files arent in teh directories. Did I miss something? plz help
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    You should download the precompiled binaries, it makes things so much easier! This way all you have to do is run the exe and your away!

    http://sourceforge.net/project/showf...?group_id=5988

    Mark.
    programming language development: www.netytan.com Hula

  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    11
    Rep Power
    0
    ok, i ran the binary installer
    here's the error i get when running NeHe1

    C:\Python23>python OpenGL\Demo\NeHe\lesson1.py
    Traceback (most recent call last):
    File "OpenGL\Demo\NeHe\lesson1.py", line 40, in ?
    from OpenGL.GL import *
    File "C:\Python23\OpenGL\__init__.py", line 26, in ?
    from GL.GL__init___ import __numeric_present__, __numeric_support__
    File "C:\Python23\OpenGL\GL\__init__.py", line 2, in ?
    from GL__init__ import *
    ImportError: No module named GL__init__

    Thanks for your patience

IMN logo majestic logo threadwatch logo seochat tools logo