PyOpenGL glutInit NullFunctionError

前端 未结 11 1781
梦如初夏
梦如初夏 2020-11-30 05:13

I am running Anaconda Python 2.7 on a Win7 x64 machine and used

pip install PyOpenGL PyOpenGL_accelerate

at the Anaconda command line to i

11条回答
  •  自闭症患者
    2020-11-30 05:40

    for python 2.7, PyopenGL needs vc++ 9 compiler, download and install it.

    then:

    python -m pip install --upgrade pip
    
    pip install image
    
    pip install numpy
    
    pip install PyOpenGL PyOpenGL_accelerate
    

    I downloaded freeglut

    unzipped it and added bin directory to the path when calling: glutCreateWindow("sometitle") changed to glutCreateWindow(b'sometitle')

    and got it run on windows 7

提交回复
热议问题