I am running Ubuntu 10.04 and have already installed python and matplotlib. I wanted to plot data on maps and tried to install the basemap package from matplotlib for this purpose. I followed the instructions that are given here:
When I completed the installation and, as suggested in the guide, I typed 'from mpl_toolkits.basemap import Basemap' at the python prompt I get the following error:
What is surprising is that, I repeat the same command, and I sometimes get an error that is different but of a similar form: an import error that says 'cannot import X'
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/mpl_toolkits/basemap/__init__.py", line 30, in <module>
from mpl_toolkits.basemap import pyproj
ImportError: cannot import name pyproj
Any help to resolve this would be highly appreciated.