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
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?
Thanks