vision-x-nyu / image-sculpting

Code release for Image Sculpting: Precise Object Editing with 3D Geometry Control [CVPR 2024]
https://image-sculpting.github.io/
MIT License
271 stars 19 forks source link

"Could not find module 'EGL' #2

Open petter529 opened 8 months ago

petter529 commented 8 months ago

"It seems to be running on a Linux system, but I am encountering the above error when trying to execute the bash scripts/pose_editing.sh command through Git Bash on a Windows system. How can I resolve this issue? It seems necessary to set os.environ['PYOPENGL_PLATFORM'] = 'egl', but where should I make this modification? Or is there a better solution for running it on a Windows system?"

ImportError: ('Unable to load EGL library', "Could not find module 'EGL' (or one of its dependencies). Try using the full path with constructor syntax.", 'EGL', None)

domejiraphon commented 8 months ago

Can you try comment that line out? That line is for Linux environments without a display.