-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImageMagick not detected by moviepy while using SubtitlesClip #693
Comments
Check for the ImageMagick policy file. ImageMagick does not have the proper permission set: |
@pkarp0 How to set up ?
|
comment out (or remove the line that reads)
|
Thank you ! No more error! |
Thanks @pkarp0 works for me also |
I am still getting this error even after removing the line? I am trying to run this on Google Colab. Any tips? |
Havent worked with Colab. Try running ImageMagick directly. It is typically installed at /usr/bin/convert |
I figured it out it had to be installed before importing moviepy |
@alvisanovari Could you please tell me how you resolved it? I tried to install ImageMagick in google colab even though it comes pre-installed like below but I am still getting permission issue. !apt install imagemagick error: .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 |
install imagemagic: ! apt install imagemagick |
Thank you for the reply @alvisanovari So just use wget command to get the file and put it at /etc/ImageMagick-6/policy.xml location |
The following code allows me to work with text via MoviePy from a fresh Google Colab instance.
Here |
Thanks @pkarp0 you made my day too :-) |
It was more useful than the answer of other website |
Thank you so much @rikhuijzer that worked perfectly on my container 👍 |
For what it's worth. When I did I had to do Thanks for your help :) |
Thank you so much |
Really Thanks! |
Working for me |
ubuntu 16.04
python3.6
apt-get -y install ffmpeg imagemagick
export FFMPEG_BINARY='/usr/bin/ffmpeg'
export IMAGEMAGICK_BINARY='/usr/bin/convert'
What should I do ?
The text was updated successfully, but these errors were encountered: