Skip to content
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

MovieWriter imagemagick unavailable; trying to use pillow instead. #6

Closed
silexxx opened this issue Jul 30, 2020 · 4 comments
Closed

Comments

@silexxx
Copy link

silexxx commented Jul 30, 2020

when I run the last module command !python src/data_postprocessing/make_gif.py -s data/sources/source -r results/danesh
MovieWriter imagemagick unavailable; trying to use pillow instead.
Traceback (most recent call last):
File "src/data_postprocessing/make_gif.py", line 72, in
make_gif(args.source_dir, args.results_dir)
File "src/data_postprocessing/make_gif.py", line 60, in make_gif
writer="imagemagick")
File "/usr/local/lib/python3.6/dist-packages/matplotlib/animation.py", line 1111, in save
extra_args=extra_args, metadata=metadata)
TypeError: 'str' object is not callable

please help me I have almost at the end of it .

@silexxx
Copy link
Author

silexxx commented Jul 30, 2020

I ran make_video.py and got the result. but I am queries to know thats wrong in that command thank you

@Gramet
Copy link
Contributor

Gramet commented Jul 30, 2020

You are probably missing imagemagick writer on your computer.You can try to change l.60 of make_gif.py to another writer like mencoder or ffmpeg...

Did you get a satisfying result with make_video.py?

@Gramet
Copy link
Contributor

Gramet commented Jul 30, 2020

You can also try this to see the available writers and choose the one you want.

import matplotlib.animation as manimation
manimation.writers.list()

@silexxx
Copy link
Author

silexxx commented Aug 2, 2020

yes, it worked thank you for the response.

@silexxx silexxx closed this as completed Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants