FaceSwap icon indicating copy to clipboard operation
FaceSwap copied to clipboard

can I run it on a server without pygame and deskptop?

Open stupiding opened this issue 8 years ago • 3 comments

I'm new to opengl or pygame. The server is a centos6 which has no desktop installed, and failed to install pygame with many difficulties.

When i comment out the pygame stuffs and run python zad2.py, it just goes wrong and the renderedImg is an all-zero array.

Is there any way that I can run it successfully?

stupiding avatar Sep 07 '17 04:09 stupiding

Hi, I am pretty sure that pygame requires desktop. It might be possible to get around this somehow, but I am not an expert on opengl/pygame either, sorry :(

MarekKowalski avatar Sep 07 '17 21:09 MarekKowalski

I am also working on a headless version of this. But so far I'm struggling since I'm new to OpenGL & 3D spaces.

chamantonio avatar Jan 15 '18 10:01 chamantonio

pygame.display.set_mode((self.w, self.h), DOUBLEBUF|OPENGL|HIDDEN) add HIDDEN pygame_window back end run not showing.... deskptop

Balu2311 avatar Feb 08 '22 13:02 Balu2311