惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

I
InfoQ
C
CERT Recently Published Vulnerability Notes
The Last Watchdog
The Last Watchdog
P
Proofpoint News Feed
D
Darknet – Hacking Tools, Hacker News & Cyber Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
GbyAI
GbyAI
T
Tenable Blog
博客园 - 三生石上(FineUI控件)
P
Privacy & Cybersecurity Law Blog
Simon Willison's Weblog
Simon Willison's Weblog
Jina AI
Jina AI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tor Project blog
博客园_首页
F
Fortinet All Blogs
博客园 - Franky
Latest news
Latest news
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
U
Unit 42
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hugging Face - Blog
Hugging Face - Blog
D
Docker
Project Zero
Project Zero
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MongoDB | Blog
MongoDB | Blog
F
Full Disclosure
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
Cisco Talos Blog
Cisco Talos Blog
Y
Y Combinator Blog
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
H
Help Net Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
Schneier on Security
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
PCI Perspectives
PCI Perspectives
Cloudbric
Cloudbric
V
Visual Studio Blog
Recorded Future
Recorded Future
人人都是产品经理
人人都是产品经理

博客园 - 猫狼

安卓连接usb camera 安卓手机连接USB摄像头代码 安装Memurai 把“休眠”功能找回来,并设置成一合上盖子就生效 mathtype安装后在office无法启动,提示运行时错误53, 文件未找到:MathPage.WLL ASP.NET Web Site Project 中集成 Hangfire 并实现图片/视频压缩后台任务 SQL SERVER 数据库压缩日志步骤 Latex的一个错误, SQL 学习笔记 升级 ASP.NET 网站项目到 C# 6.0 或更高版本 C#程序集合并工具-ILRepack manim一个坑爸爸的问题 manim安装纪实 去掉快捷方式的小箭头 VS2022转到定义功能异常解决方案 url 传递加号,asp.net解析参数的正确处理参数 获取自然周数的下拉列表 移出Json对象的三级属性 梦记:又要去交流? 一段VBA的代码,到处是坑 多个AJAX请求,带执行进度及结果 C# 返回文件夹及子目录 解决JS跨域访问的问题 利用Jquery的map函数将json数据行转化为表格 模访京东商城jQuery省市区三级联动选择(横向DIV)
manim 安装
猫狼 · 2025-04-12 · via 博客园 - 猫狼

还是按照官方的方法安装成功了,折腾了我三天时间

机子上安装了python,miktex,ffmepg,gs,dvisvgm,

第一步,按照官方的方式安装uv,命令行:运行

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

结果如下:

Downloading uv 0.6.14 (x86_64-pc-windows-msvc)
Installing to C:\Users\18808\.local\bin
  uv.exe
  uvx.exe
everything's installed!
第二步:安装python,继续命令行,机子本身下载安装了也重新安装了

结果如下:
Installed Python 3.13.3 in 16.53s
 + cpython-3.13.3-windows-x86_64-none

第三步:安装动画文件目录

结果:
Initialized project `manimations` at `C:\manimations`
第四步,转到安装目录

运行结果:
C:\manimations>uv add manim
Using CPython 3.13.3
Creating virtual environment at: .venv
Resolved 38 packages in 5.63s
      Built srt==3.5.3
Prepared 34 packages in 29.90s
Installed 34 packages in 1.58s
 + audioop-lts==0.2.1
 + av==13.1.0
 + beautifulsoup4==4.13.3
 + click==8.1.8
 + cloup==3.0.7
 + colorama==0.4.6
 + decorator==5.2.1
 + glcontext==3.0.0
 + isosurfaces==0.1.2
 + manim==0.19.0
 + manimpango==0.6.0
 + mapbox-earcut==1.0.3
 + markdown-it-py==3.0.0
 + mdurl==0.1.2
 + moderngl==5.12.0
 + moderngl-window==3.1.1
 + networkx==3.4.2
 + numpy==2.2.4
 + pillow==11.1.0
 + pycairo==1.27.0
 + pydub==0.25.1
 + pyglet==2.1.3
 + pyglm==2.8.2
 + pygments==2.19.1
 + rich==14.0.0
 + scipy==1.15.2
 + screeninfo==0.8.1
 + skia-pathops==0.8.0.post2
 + soupsieve==2.6
 + srt==3.5.3
 + svgelements==1.9.6
 + tqdm==4.67.1
 + typing-extensions==4.13.2
 + watchdog==6.0.0
第五步:检查安装并试生成动画

C:\manimations>uv run manim checkhealth

运行结果:

C:\manimations\.venv\Lib\site-packages\pydub\utils.py:300: SyntaxWarning: invalid escape sequence '\('
  m = re.match('([su]([0-9]{1,2})p?) \(([0-9]{1,2}) bit\)$', token)
C:\manimations\.venv\Lib\site-packages\pydub\utils.py:301: SyntaxWarning: invalid escape sequence '\('
  m2 = re.match('([su]([0-9]{1,2})p?)( \(default\))?$', token)
C:\manimations\.venv\Lib\site-packages\pydub\utils.py:310: SyntaxWarning: invalid escape sequence '\('
  elif re.match('(flt)p?( \(default\))?$', token):
C:\manimations\.venv\Lib\site-packages\pydub\utils.py:314: SyntaxWarning: invalid escape sequence '\('
  elif re.match('(dbl)p?( \(default\))?$', token):
Manim Community v0.19.0

Python executable: C:\manimations\.venv\Scripts\python.exe

Checking whether your installation of Manim Community is healthy...
- Checking whether manim is on your PATH ... PASSED
- Checking whether the executable belongs to manim ... PASSED
- Checking whether latex is available ... PASSED
- Checking whether dvisvgm is available ... PASSED

No problems detected, your installation seems healthy!
Would you like to render and preview a test scene? [y/N]: y
[04/12/25 06:02:32] INFO     Caching disabled.                                                      cairo_renderer.py:79
[04/12/25 06:02:38] INFO     Animation 0 : Partial movie file written in                        scene_file_writer.py:588
                             'C:\manimations\media\videos\1080p60\partial_movie_files\CheckHeal
                             thDemo\uncached_00000.mp4'
                    INFO     Caching disabled.                                                      cairo_renderer.py:79
[04/12/25 06:02:40] INFO     Animation 1 : Partial movie file written in                        scene_file_writer.py:588
                             'C:\manimations\media\videos\1080p60\partial_movie_files\CheckHeal
                             thDemo\uncached_00001.mp4'
                    INFO     Caching disabled.                                                      cairo_renderer.py:79
[04/12/25 06:02:45] INFO     Animation 2 : Partial movie file written in                        scene_file_writer.py:588
                             'C:\manimations\media\videos\1080p60\partial_movie_files\CheckHeal
                             thDemo\uncached_00002.mp4'
                    INFO     Caching disabled.                                                      cairo_renderer.py:79
[04/12/25 06:02:46] INFO     Animation 3 : Partial movie file written in                        scene_file_writer.py:588
                             'C:\manimations\media\videos\1080p60\partial_movie_files\CheckHeal
                             thDemo\uncached_00003.mp4'
[04/12/25 06:02:48] INFO     Writing \oint_{\gamma} f(z)~dz = 0 to                               tex_file_writing.py:111
                             media\Tex\dda452bdf6dc1d17.tex
[04/12/25 06:02:49] INFO     Caching disabled.                                                      cairo_renderer.py:79
[04/12/25 06:02:55] INFO     Animation 4 : Partial movie file written in                        scene_file_writer.py:588
                             'C:\manimations\media\videos\1080p60\partial_movie_files\CheckHeal
                             thDemo\uncached_00004.mp4'
                    INFO     Caching disabled.                                                      cairo_renderer.py:79
[04/12/25 06:02:56] INFO     Animation 5 : Partial movie file written in                        scene_file_writer.py:588
                             'C:\manimations\media\videos\1080p60\partial_movie_files\CheckHeal
                             thDemo\uncached_00005.mp4'
                    INFO     Caching disabled.                                                      cairo_renderer.py:79
[04/12/25 06:03:01] INFO     Animation 6 : Partial movie file written in                        scene_file_writer.py:588
                             'C:\manimations\media\videos\1080p60\partial_movie_files\CheckHeal
                             thDemo\uncached_00006.mp4'
                    INFO     Combining to Movie file.                                           scene_file_writer.py:739
                    INFO                                                                        scene_file_writer.py:886
                             File ready at
                             'C:\manimations\media\videos\1080p60\CheckHealthDemo.mp4'

                    INFO     Rendered CheckHealthDemo                                                       scene.py:255
                             Played 7 animations
[04/12/25 06:03:02] INFO     Previewed File at:                                                          file_ops.py:237
                             'C:\manimations\media\videos\1080p60\CheckHealthDemo.mp4'
Scene rendered in 28.91 seconds.

最后生成动画