import matplotlib.pyplot gives ImportError: No module named _tkagg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
matplotlib (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The default TkAgg backend for matplotlib dosn't work and gives the folowing error when
pyplot is imported in both python 2.6 and 2.5
>>> import matplotlib.pyplot
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
new_
File "/usr/lib/
globals(
File "/usr/lib/
import tkagg # Paint image to Tk photo blitter extension
File "/usr/lib/
import _tkagg
ImportError: No module named _tkagg
However if you change the backend in /etc/matplotlibrc to QT4 (and maybe others) everything works fine
using matplotlib 0.98.5.2-1ubuntu1 on kubuntu 9.04 alpha 5
Related branches
Changed in matplotlib: | |
status: | New → Confirmed |
Confirming. This is a regression from intrepid and cen be verified by inspection of package contents list. _tkagg.so doesn't exist anymore in jaunty.