3b1b / 3b1b/manim

FileNotFoundError: [WinError 2] The system cannot find the file specified

未關閉
#990 16 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
93.9k
分支
7.7k
平均合併
2 天 13 小時
30 天內合併 PR
4

描述

I tried **direct approach for windows** and i did setup the project as shown in the steps and then ran the command
**python manim.py example_scenes.py SquareToCircle -pl** which is giving me below error.

Traceback (most recent call last):
**File "C:\Users\HP\manimnew\manim\manimlib\extract_scene.py", line 155, in main
scene = SceneClass(**scene_kwargs)
File "C:\Users\HP\manimnew\manim\manimlib\scene\scene.py", line 53, in __init__
self.construct()
File "example_scenes.py", line 83, in construct
self.play(ShowCreation(square))**
File "C:\Users\HP\manimnew\manim\manimlib\scene\scene.py", line 405, in wrapper
self.file_writer.begin_animation(allow_write)
File "C:\Users\HP\manimnew\manim\manimlib\scene\scene_file_writer.py", line 170, in begin_animation
self.open_movie_pipe()
File "C:\Users\HP\manimnew\manim\manimlib\scene\scene_file_writer.py", line 243, in open_movie_pipe
self.writing_process = subprocess.Popen(command, stdin=subprocess.PIPE)
File "C:\Users\HP\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Users\HP\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1178, in _execute_child
startupinfo)

**FileNotFoundError: [WinError 2] The system cannot find the file specified**

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

錯誤發生在 scene_file_writer.py 中,當 subprocess.Popen 嘗試執行命令時。檢查在 Windows 上缺少哪個外部程式(可能是 ffmpeg)。查看正在構建的命令並驗證安裝路徑。確保所需的 binary 位於 PATH 中後,透過執行範例場景來測試。

由索引模型根據 Issue 內容生成。

評估

領域
cli, tooling
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。