Matplotlib seems to be broken on Ubuntu 10.04 LTS. I'm not sure what could've changed from a few days ago. Can somebody offer any suggestions to fix the fact that I cannot import attributes from matplotlib? Thanks -
I installed (and re-installed) using:
git clone git://github.com/matplotlib/matplotlib.git
cd matplotlib
python setup.py install
Errors:
>>> from matplotlib import *
>>> import matplotlib
>>> matplotlib.use('Agg')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'use'
>>> matplotlib.__version__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute '__version__'