有什么问题吗?
我在Pythonanywhere.com上跑
此错误可能是由于您的计算机上没有安装ImageMagick,或者(对于ImageMagick用户)您没有在conf.py文件中指定ImageMagick二进制文件的路径,所以您指定的路径不正确。
[MoviePy] This command returned an error !Traceback (most recent call last):,
File "deneme.py", line 6, in <module>
txt_clip = TextClip("My Holidays 2013",fontsize=70,color='white')
File "/home/pirali/.local/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 1145, in __init__
raise IOError(error)
IOError: MoviePy Error: creation of None failed because of the following error:
Youtube Foto Galeri: not authorized `@/tmp/tmpxjn5vu.txt' @ error/property.c/InterpretImageProperties/2959.
Youtube Foto Galeri: no images defined `PNG32:/tmp/tmp3lNxp8.png' @ error/convert.c/ConvertImageCommand/3044...
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发布于 2016-10-11 14:35:33
PythonAnywhere管理员在这里。对于其他可能遇到这个问题的人来说,这是由于几周前发现的ImageMagick安全漏洞造成的:
https://www.imagemagick.org/discourse-server/viewtopic.php?t=29588
因此,imagemagick中的某些功能将被禁用,等待安全修补程序。
https://stackoverflow.com/questions/39920663
复制相似问题