Manim学习过程-———安装问题(已解决)(3b1b数学引擎问题解决)

Manim安装过程中遇到的问题

其他过程参考这篇博客:点我进入

问题如下

1.“pycairo”这个包安装异常

解决办法:

通过下载whl文件来安装
进入这个网站下载pycairo的whl文件
然后打开cmd输入:pip install pycairo-1.18.1-cp37-cp37m-win_amd64.whl

PS:记得把whl文件放到指定的目录下才可以安装

2.manimlib安装显示gbk编码问题

参考这篇b站专栏:点击进入

3.无法使用WriteStuff和UpdatersExample

python -m manim example_scenes.py WriteStuff -pl
python -m manim example_scenes.py UpdatersExample -pl

在这里插入图片描述
在这里插入图片描述

It may be caused by dvisvgm.
Dvidvgm helps you to convert tex files to svg files.
Please dive into that directory to find whether that tex file can be compiled or not.
If not, please check your LaTex version
Otherwise, check your dvisvgm version.

解决方案

可能是dvisvgm的版本问题,如果使用最新的dvisvgm2.8.2会导致上述问题,现更换至较低版本即可使用

该问题得到收获:
Divsgvm是能够把tex文件转换成svg文件的,如果出现类似问题可以先检查所安装的版本的问题。

发布了36 篇原创文章 · 获赞 6 · 访问量 2291

猜你喜欢

转载自blog.csdn.net/weixin_45709330/article/details/104078538
今日推荐