回复 4# 523066680
楼主,3.5.2 无法运行。是不是我姿势不对?- C:\Users\Yu2n>python -V
- Python 3.5.2
-
- C:\Users\Yu2n>R:
-
- R:\>python -m pip install --upgrade pip
-
- R:\>cd PyOpenGL-3.1.1a1\
-
- R:\PyOpenGL-3.1.1a1>setup.py install
-
- R:\PyOpenGL-3.1.1a1>cd \
-
- R:\>Torus_Vortex.py
- Traceback (most recent call last):
- File "R:\Torus_Vortex.py", line 116, in <module>
- main()
- File "R:\Torus_Vortex.py", line 102, in main
- glutInit(sys.argv)
- File "C:\Python35-32\lib\site-packages\pyopengl-3.1.1a1-py3.5.egg\OpenGL\GLUT\special.py", line 333, in glutInit
- _base_glutInit( ctypes.byref(count), holder )
- File "C:\Python35-32\lib\site-packages\pyopengl-3.1.1a1-py3.5.egg\OpenGL\platform\baseplatform.py", line 407, in __call__
- self.__name__, self.__name__,
- OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling
复制代码
|