[IPython-dev] Problem using JSAnimation

Mike Witt msg2mw at gmail.com
Tue Jul 29 16:24:20 EDT 2014

I've never used JSAnimation before. I just tried installing it,
and every time I try to do anything with it, it wants to import
things from matplotlib.animation that don't seem to be there (at
least on my system). I wonder, is there some piece of matplolib
that I'm missing?

I should mention that I've never used matplotlib.animation either.
In the past I've created the frames by hand and put them together
with convert, ffmpeg, or something like that.

In [1]: from JSAnimation import IPython_display
ImportError                               Traceback (most recent call  
<ipython-input-1-8205f5806e96> in <module>()
----> 1 from JSAnimation import IPython_display

/usr/local/lib/python2.7/dist-packages/JSAnimation/__init__.py in  
----> 1 from .html_writer import HTMLWriter

/usr/local/lib/python2.7/dist-packages/JSAnimation/html_writer.py in  
       8 else:
       9     from io import BytesIO as InMemory
---> 10 from matplotlib.animation import writers, FileMovieWriter
      11 from base64 import b64encode

ImportError: cannot import name writers

More information about the IPython-dev mailing list