DeepMimic icon indicating copy to clipboard operation
DeepMimic copied to clipboard

windows10,errors about glutInit occur when I run the DeepMimic.py

Open GarrettZhen opened this issue 4 years ago • 1 comments

Excuse me, I met some problems about glutInit error. When I run the DeepMimic.py, The following will occur: Traceback (most recent call last): File "DeepMimic.py", line 319, in main() File "DeepMimic.py", line 311, in main init_draw() File "DeepMimic.py", line 269, in init_draw glutInit() File "C:\Program Files\Python35\lib\site-packages\OpenGL\GLUT\special.py", line 333, in glutInit _base_glutInit( ctypes.byref(count), holder ) File "C:\Program Files\Python35\lib\site-packages\OpenGL\platform\baseplatform.py", line 425, in call self.name, self.name, OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling.

The configuration of freeglut, glew and so on are OK. I have successfully build DeepMimicCore project and generate DeepMimicCore.py. My environment is Windows10, Visual studio 2015. python 3.5.4

Cloud you help me?

GarrettZhen avatar Nov 05 '20 14:11 GarrettZhen

I have solved it. When I install PyopengL, I should install the 64-bit version.

GarrettZhen avatar Nov 05 '20 17:11 GarrettZhen