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 删除。