fix: import errors...

This commit is contained in:
Jérome Eertmans
2022-09-07 23:40:05 +02:00
parent 51ca828920
commit 11494209e4
3 changed files with 3 additions and 6 deletions

View File

@ -6,11 +6,7 @@ import subprocess
from tqdm import tqdm
try:
from .manim import Scene, ThreeDScene, config, logger
except ImportError:
Scene = ThreeDScene = config = logger = None
# TODO: manage both manim and manimgl
from manim import Scene, ThreeDScene, config, logger
try: # For manim<v0.16.0.post0
from manim.constants import FFMPEG_BIN as ffmpeg_executable