Ошибка при создании TextClip с moviepy - PullRequest
0 голосов
/ 08 июня 2018

Я пытаюсь создать текстовый клип.Но это дает мне эту ошибку:

>>> from moviepy.editor import *
>>> text = (TextClip("asdasda",color='white').set_pos((20,190)))

[MoviePy] This command returned an error !Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/moviepy/video/VideoClip.py", line 1173, in __init__
raise IOError(error)
IOError: MoviePy Error: creation of None failed because of the following error:

convert: not authorized `@/tmp/tmpTs7EU5.txt' @ error/property.c/InterpretImageProperties/3405.
convert: no images defined `PNG32:/tmp/tmpy1f1J0.png' @ error/convert.c/ConvertImageCommand/3210.


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


В последней строке написано, что я не установил ImageMagick.Но я уже установил с этой командой sudo apt-get install libmagickwand-dev и установил нормально.Я также установил moviepy нормально через pip install moviepy.Я также установил pip install Wand.

...