Saving in SVG


I have a script witch saves to graphs to SVG. The script works on 2 of my computer (ArchLinux and Gentoo) but the SVG saves doesn't on Fedora Core 3. The 3 uses matplotlib v0.87.4. The error I get is :

Traceback (most recent call last):
  File "src/affichage/", line 1091, in ?
  File "src/affichage/", line 262, in main
  File "src/affichage/", line 427, in updatefig
    p.savefig(filename, dpi=100)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/", line 811, in savefig
    return fig.savefig(*args, **kwargs)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/", line 661, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/backends/", line 113, in print_figure
    orientation, **kwargs)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/backends/", line 481, in print_figure
    orientation, **kwargs)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/backends/", line 289, in print_figure
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/", line 532, in draw
    for a in self.axes: a.draw(renderer)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/", line 1045, in draw
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/", line 189, in draw
    renderer.draw_image(l, b, im, self.axes.bbox)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/backends/", line 154, in draw_image
    image64 = base64.b64encode (
AttributeError: 'module' object has no attribute 'b64encode'

Is there something I'm missing ?

Thank you.