diff --git a/genesis/ext/pyrender/viewer.py b/genesis/ext/pyrender/viewer.py index c2f2e2d..60ddfee 100644 --- a/genesis/ext/pyrender/viewer.py +++ b/genesis/ext/pyrender/viewer.py @@ -16,8 +16,11 @@ from tkinter import Tk from tkinter import filedialog -root = Tk() -root.withdraw() +try: + root = Tk() + root.withdraw() +except: + pass import pyglet from moviepy.video.io.ffmpeg_writer import FFMPEG_VideoWriter