manim一个坑爸爸的问题
ValueError: Your installation does not support converting .dvi files to SVG. Consider updating dvisvgm to at least version 2.4. If this does not solve the problem, please refer to our troubleshooting guide at: https://docs.manim.community/en/stable/faq/general.html#my-installation-does-not-support-converting-pdf-to-svg-help
我的机子上实际上已经安装了dvisvgm3.4.4,出现这个错误的原因可能是没有gs
下载安装gs,这个gs的文件名也是搞笑,原文件名要改为gs.exe,要不然默认的环境变量找不到,然后在命令行运行一下
gs --version
弹出如下对话框表示安装成功
还要指定链接库,运行命令行
set LIBGS=C:\Program Files\gs\gs10.04.0\bin\gsdll64.dll
dvisvgm -l
出现了ps,表示dvisvgm支持ps了,
运行命令行,
dvisvgm -h
显示中,有--libgs了