PyOpenGL glutInit NullFunctionError

前端 未结 11 1800
梦如初夏
梦如初夏 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:21

    I got the same error and a solved installing required files from here.

    Download these files:

    • PyOpenGL-3.1.1-cp27-cp27m-win32.whl (download if your computer 32 bits )

    • PyOpenGL-3.1.1-cp27-cp27m-win_amd64.whl (download if your computer 64 bits )

    • PyOpenGL_accelerate-3.1.1-cp27-cp27m-win32.whl (download if your computer 32 bits )

    • PyOpenGL_accelerate-3.1.1-cp27-cp27m-win_amd64.whl (download if your computer 64 bits )

    install these .whl files for 64 bits:

    pip install PyOpenGL-3.1.1-cp27-cp27m-win_amd64.whl
    pip install PyOpenGL_accelerate-3.1.1-cp27-cp27m-win_amd64.whl
    

    install these .whl files for 32 bits:

    pip install PyOpenGL-3.1.1-cp27-cp27m-win32.whl 
    pip install PyOpenGL_accelerate-3.1.1-cp27-cp27m-win32.whl
    

提交回复
热议问题