error while installing matplot ImportError: No module named _tkagg

Hi,

I am using a simulator called aerialvision which uses matplot . I installed matplot on my Linux machine and now I use the simulator it gives me an error stating that

File “/usr/local/lib/python2.7/site-packages/matplotlib/backends/tkagg.py”, line 1, in

import _tkagg

ImportError: No module named _tkagg

Can anyone please help me with this

Thanks!

satish

Satish Raghunath wrote:

Hi, I am using a simulator called aerialvision which uses matplot . I installed matplot on my Linux machine and now I use the simulator it gives me an error stating that

File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/tkagg.py", line 1, in <module>
    import _tkagg
ImportError: No module named _tkagg

Can anyone please help me with this

Thanks! satish

You probably didn't have the tk development packages when you installed mpl. Install them and re-install mpl checking that it correctly detects that tk is installed.

JLS