这又是啥?Traceback (most recent call last):
File "C:\Users\Administrator.USER-20181215CS\AppData\Local\Programs\Python\Python38\lib\site-packages\moviepy\video\VideoClip.py", line 1137, in __init__
subprocess_call(cmd, logger=None)
File "C:\Users\Administrator.USER-20181215CS\AppData\Local\Programs\Python\Python38\lib\site-packages\moviepy\tools.py", line 46, in subprocess_call
proc = sp.Popen(cmd, **popen_params)
File "C:\Users\Administrator.USER-20181215CS\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Administrator.USER-20181215CS\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\Administrator.USER-20181215CS\Desktop\桌面杂物(或许大多数都是Python?)\其他\yingxiaohao\main.py", line 130, in <module>
out_video(make_video(text))
File "C:\Users\Administrator.USER-20181215CS\Desktop\桌面杂物(或许大多数都是Python?)\其他\yingxiaohao\main.py", line 86, in make_video
sub = SubtitlesClip("test.srt",generator)
File "C:\Users\Administrator.USER-20181215CS\AppData\Local\Programs\Python\Python38\lib\site-packages\moviepy\video\tools\subtitles.py", line 86, in __init__
hasmask = bool(self.make_textclip('T').mask)
File "C:\Users\Administrator.USER-20181215CS\Desktop\桌面杂物(或许大多数都是Python?)\其他\yingxiaohao\main.py", line 85, in <lambda>
generator = lambda txt: TextClip(txt, font = FONT_URL,fontsize=30, color='white')
File "C:\Users\Administrator.USER-20181215CS\AppData\Local\Programs\Python\Python38\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
|