mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-05-20 20:16:30 +08:00
fix(deps): fix deps import error
This commit is contained in:
@ -4,9 +4,14 @@ import platform
|
||||
import shutil
|
||||
import subprocess
|
||||
|
||||
from manim import Scene, ThreeDScene, config, logger
|
||||
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
|
||||
|
||||
try: # For manim<v0.16.0.post0
|
||||
from manim.constants import FFMPEG_BIN as ffmpeg_executable
|
||||
except ImportError:
|
||||
|
Reference in New Issue
Block a user