首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >MoviePy Error: creation of None failed ... ImageMagick is not installed

MoviePy Error: creation of None failed ... ImageMagick is not installed

原创
作者头像
用户10171634
发布2025-10-06 21:49:23
发布2025-10-06 21:49:23
760
举报

C:\Users\Sam\Desktop\desktop\startup\workpython\ocr\venv\Scripts\python.exe C:/Users/Sam/Desktop/desktop/startup/workpython/ocr/enstady.py

Traceback (most recent call last):

File "C:\Users\Sam\Desktop\desktop\startup\workpython\ocr\venv\lib\site-packages\moviepy\video\VideoClip.py", line 1137, in __init__

subprocess_call(cmd, logger=None)

File "C:\Users\Sam\Desktop\desktop\startup\workpython\ocr\venv\lib\site-packages\moviepy\tools.py", line 46, in subprocess_call

proc = sp.Popen(cmd, **popen_params)

File "C:\Users\Sam\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in __init__

self._execute_child(args, executable, preexec_fn, close_fds,

File "C:\Users\Sam\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child

hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

FileNotFoundError: [WinError 2] 系统找不到指定的文件。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:/Users/Sam/Desktop/desktop/startup/workpython/ocr/enstady.py", line 26, in <module>

txt = TextClip(word, fontsize=120, color='white', font='Arial', method='caption', size=(720, 480))

File "C:\Users\Sam\Desktop\desktop\startup\workpython\ocr\venv\lib\site-packages\moviepy\video\VideoClip.py", line 1146, in __init__

raise IOError(error)

OSError: MoviePy Error: creation of None failed because of the following error:

[WinError 2] 系统找不到指定的文件。.

.This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect

Process finished with exit code 1

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档