how did you install manim? the typst bindings need to be installed in the same python env as manim, so if you followed the docs and used uv to manage your environment, then the command would be uv add "manim[typst]"
I managed to get it working by running python -m manim (Whatever scene name). I installed typst by using both pacman and sudo pacman -S python-typst (Or something like that) and yet Manim wasn't detecting it. Manim wasn't detecting typst because Manim was an executable and wasn't in the env, but running the first command forced Manim to run with the same python env where typst was installed
if manim ... does not work, but python -m manim ... does, then you appear to have multiple manim installation, including one in your global system python (which i'd generally recommend against; same as with installing typst into it via pacman -S python-typst).
using a local virtual environment would be the cleaner option. but either way, if your current setup works for you, then that is fine of course. 👍
2
u/behackl community developer 8d ago
how did you install manim? the typst bindings need to be installed in the same python env as manim, so if you followed the docs and used uv to manage your environment, then the command would be
uv add "manim[typst]"