Seems to work for me... Here's the relevant portion from a python -v
shell and import pylab:
import matplotlib.backends # directory
/usr/lib/pymodules/python2.7/matplotlib/backends
# /usr/lib/pymodules/python2.7/matplotlib/backends/__init__.pyc matches
/usr/lib/pymodules/python2.7/matplotlib/backends/__init__.py
import matplotlib.backends # precompiled from
/usr/lib/pymodules/python2.7/matplotlib/backends/__init__.pyc
# /usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.pyc matches
/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.py
import matplotlib.backends.backend_tkagg # precompiled from
/usr/lib/pymodules/python2.7/matplotlib/backends/backend_tkagg.pyc
# /usr/lib/python2.7/lib-tk/Tkinter.pyc matches
/usr/lib/python2.7/lib-tk/Tkinter.py
import Tkinter # precompiled from /usr/lib/python2.7/lib-tk/Tkinter.pyc
dlopen("/usr/lib/python2.7/lib-dynload/_tkinter.so", 2);
import _tkinter # dynamically loaded from
/usr/lib/python2.7/lib-dynload/_tkinter.so
# /usr/lib/python2.7/lib-tk/Tkconstants.pyc matches
/usr/lib/python2.7/lib-tk/Tkconstants.py
import Tkconstants # precompiled from /usr/lib/python2.7/lib-tk/Tkconstants.pyc
# /usr/lib/python2.7/lib-tk/FileDialog.pyc matches
/usr/lib/python2.7/lib-tk/FileDialog.py
import FileDialog # precompiled from /usr/lib/python2.7/lib-tk/FileDialog.pyc
# /usr/lib/python2.7/lib-tk/Dialog.pyc matches
/usr/lib/python2.7/lib-tk/Dialog.py
import Dialog # precompiled from /usr/lib/python2.7/lib-tk/Dialog.pyc
# /usr/lib/pymodules/python2.7/matplotlib/backends/tkagg.pyc matches
/usr/lib/pymodules/python2.7/matplotlib/backends/tkagg.py
import matplotlib.backends.tkagg # precompiled from
/usr/lib/pymodules/python2.7/matplotlib/backends/tkagg.pyc
dlopen("/usr/lib/pymodules/python2.7/matplotlib/backends/_tkagg.so", 2);
import matplotlib.backends._tkagg # dynamically loaded from
/usr/lib/pymodules/python2.7/matplotlib/backends/_tkagg.so
# /usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.pyc matches
/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.py
import matplotlib.backends.backend_agg # precompiled from
/usr/lib/pymodules/python2.7/matplotlib/backends/backend_agg.pyc
dlopen("/usr/lib/pymodules/python2.7/matplotlib/backends/_backend_agg.so", 2);
import matplotlib.backends._backend_agg # dynamically loaded from
/usr/lib/pymodules/python2.7/matplotlib/backends/_backend_agg.so
# /usr/lib/pymodules/python2.7/matplotlib/backends/windowing.pyc matches
/usr/lib/pymodules/python2.7/matplotlib/backends/windowing.py
import matplotlib.backends.windowing # precompiled from
/usr/lib/pymodules/python2.7/matplotlib/backends/windowing.pyc
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/752647
Title:
"import pylab" in a python console flags error "No module named
_tkagg"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/matplotlib/+bug/752647/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs