Saving in SVG

Hi,

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/affichage_E.py", line 1091, in ?
    main()
  File "src/affichage/affichage_E.py", line 262, in main
    updatefig()
  File "src/affichage/affichage_E.py", line 427, in updatefig
    p.savefig(filename, dpi=100)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/pylab.py", line 811, in savefig
    return fig.savefig(*args, **kwargs)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/figure.py", line 661, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/backends/backend_gtkagg.py", line 113, in print_figure
    orientation, **kwargs)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/backends/backend_agg.py", line 481, in print_figure
    orientation, **kwargs)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/backends/backend_svg.py", line 289, in print_figure
    self.figure.draw(renderer)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/figure.py", line 532, in draw
    for a in self.axes: a.draw(renderer)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/axes.py", line 1045, in draw
    a.draw(renderer)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/image.py", line 189, in draw
    renderer.draw_image(l, b, im, self.axes.bbox)
  File "/home/bigaouette/fichiers/programmes/bin/python/matplotlib/backends/backend_svg.py", line 154, in draw_image
    image64 = base64.b64encode (imfile.read())
AttributeError: 'module' object has no attribute 'b64encode'

Is there something I'm missing ?

Thank you.