TimoBolkart / voca

This codebase demonstrates how to synthesize realistic 3D character animations given an arbitrary speech signal and a static character mesh.
https://voca.is.tue.mpg.de/en
1.15k stars 273 forks source link

NotImplementedError: Platform does not define a GLUT font retrieval function #66

Open 12345data opened 3 years ago

12345data commented 3 years ago

I was trying some changes in VOCA and try to imported the current main function of voca in another file. While running the main file separtely with requied parameters it was running successfully, but when it was imported and the main file was run the below error was raised. Can someone help me to figure out the issue?

Traceback (most recent call last): File "/home/user-name/Documents/3DAvatar/avatar_server.py", line 11, in import main_voca as voca File "/home/user-name/Documents/3DAvatar/main_voca.py", line 14, in from utils.inference import inference File "/home/user-name/Documents/3DAvatar/utils/inference.py", line 12, in from psbody.mesh import Mesh File "/home/user-name/Documents/3DAvatar/env/lib/python3.6/site-packages/psbody/mesh/init.py", line 10, in from .meshviewer import MeshViewer, MeshViewers File "/home/user-name/Documents/3DAvatar/env/lib/python3.6/site-packages/psbody/mesh/meshviewer.py", line 49, in from OpenGL import GL, GLU, GLUT File "/home/user-name/Documents/3DAvatar/env/lib/python3.6/site-packages/OpenGL/GLUT/init.py", line 5, in from OpenGL.GLUT.fonts import * File "/home/user-name/Documents/3DAvatar/env/lib/python3.6/site-packages/OpenGL/GLUT/fonts.py", line 20, in p = platform.getGLUTFontPointer( name ) File "/home/user-name/Documents/3DAvatar/env/lib/python3.6/site-packages/OpenGL/platform/baseplatform.py", line 345, in getGLUTFontPointer """Platform does not define a GLUT font retrieval function""" NotImplementedError: Platform does not define a GLUT font retrieval function

Thanks