I've got an Ubuntu 10.04 system on which I have Virtualbox installed with an identical Ubuntu 10.04 guest system. This is because I like to test some scripts in the "sandboxed" Virtualbox environment. I now have an odd situation though.
I like to create some graphs using matplotlib. I therefore opened the software center and added python-matplotlib and python-matplotlib-data. I did this in both the guest-system, AND the host-system. I then tested the example script from this matplotlib-page:
The strange thing is now that on my host-system this works perfectly well, but on my guest-system it says: ImportError: No module named pyplot.Code:import matplotlib.pyplot as plt plt.plot([1,2,3,4]) plt.ylabel('some numbers') plt.show()
As said, both systems run Ubuntu 10.04 with matplotlib installed. They both have the same version of Python (2.6.5) and are nearly identical.
Does anybody have any idea why matplotlib wouldn't work in the Virtualbox guest system?