Pythonanywhere Moviepy

Pythonanywhere Moviepy

有什么问题?

我 运行 Pythonanywhere.com

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

[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

此处为 PythonAnywhere 管理员。对于可能遇到此问题的任何其他人,这是由于几周前发现的 ImageMagick 安全漏洞造成的:

https://www.imagemagick.org/discourse-server/viewtopic.php?t=29588

imagemagick 中的某些功能因此被禁用,等待安全补丁。