manim example_scenes.py无法运行 [英] manim example_scenes.py won't run

查看:284
本文介绍了manim example_scenes.py无法运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用视频在Windows 10上下载并安装manim。我尝试运行此代码,但失败。

I am using this video to download and install manim on Windows 10. Whenever I try to run this code, it fails.

python -m manim example_scenes.py SquareToCircle -pl

cmd在我的脸上抛出了一个大错误。最后一行是:
原始错误是:DLL加载失败:找不到指定的模块。
错误图片

cmd throws a big error at my face. It last line is : Original error was: DLL load failed: The specified module could not be found. The error image

可能是问题,我该如何预防和/或解决。
谢谢

What could be the problem and how can I prevent and/or solve it. Thanks

推荐答案

@Riddhiman 36,您似乎缺少的是解析库。您可以使用命令 pip install argparse pip3 install argparse (取决于您的python版本)进行安装。为了防止其他问题,可以在本地Manim存储库目录中使用以下命令:-
python3 -m pip install -r requirements.txt

@Riddhiman 36, the thing you seem to be missing is the parsing library. You can install it using the command pip install argparse or pip3 install argparse(depending on your python version). To prevent any further issues, you can use the following command in your local Manim repo directory:- python3 -m pip install -r requirements.txt

这篇关于manim example_scenes.py无法运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆