"import pylab" in a python console flags error "No module named _tkagg"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
matplotlib (Debian) |
Fix Released
|
Unknown
|
|||
matplotlib (Ubuntu) |
Fix Released
|
High
|
Andres Rodriguez | ||
Natty |
Fix Released
|
High
|
Andres Rodriguez |
Bug Description
I upgraded from Maverick to Natty Beta 1 yesterday evening. Upon firing up a python console and issuing "import pylab" I get the following error:
manjul@chaar:~$ python
Python 2.7.1+ (r271:86832, Mar 24 2011, 00:39:14)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
from matplotlib.pylab import *
File "/usr/lib/
from matplotlib.pyplot import *
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
>>>
The module was fully functional before the upgrade. All python packages have been installed from the repos and there has been no customization so far.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-matplotlib 0.99.3-1ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelMo
Architecture: i386
Date: Wed Apr 6 11:45:56 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: matplotlib
UpgradeStatus: Upgraded to natty on 2011-04-06 (0 days ago)
Related branches
- Andres Rodriguez (community): Approve
- Ubuntu branches: Pending requested
-
Diff: 65 lines (+45/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/70_search_new_tkdir.patch (+37/-0)
debian/patches/series (+1/-0)
Changed in matplotlib (Ubuntu): | |
status: | New → Confirmed |
Changed in matplotlib (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in matplotlib (Ubuntu Natty): | |
status: | Triaged → In Progress |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in matplotlib (Debian): | |
status: | Unknown → Fix Released |
This was working before a recent update to python-matplotlib a day or so ago. I'm now running 0.99.3-1ubuntu3 also