Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用此视频在 Windows 10 上下载和安装 manim。每当我尝试运行此代码时,它都会失败。
python -m manim example_scenes.py SquareToCircle -pl
cmd 在我面前抛出一个大错误。最后一行是:原始错误是:DLL 加载失败:找不到指定的模块。
可能是什么问题,我该如何预防和/或解决它。谢谢
@Riddhiman 36,您似乎缺少的是解析库。您可以使用命令pip install argparse或pip3 install argparse(取决于您的 python 版本)安装它。为了防止任何进一步的问题,您可以在本地 Manim 存储库目录中使用以下命令:- python3 -m pip install -r requirements.txt
pip install argparse
pip3 install argparse
python3 -m pip install -r requirements.txt
这可能是安装 numpy、scipy 或 pycairo 的问题;尝试(重新)安装这些。