[pymvpa] searchlight demo clarification

Yaroslav Halchenko debian at onerussian.com
Fri Dec 5 20:40:20 UTC 2008


So, as John found out -- it was missing python-tk which is needed for
interactive pylab sessions, and which I guess was replaced with one of
the alternative backends at some point in the lifetime of the system ;-)

We might add an external check for python-tk in the cases of interactive
sessions...

On Fri, 05 Dec 2008, john.dornisch at scra.org wrote:

>    FIXED..  Missing python-tk package.  searchlight is now running.
>    Output below
>    Thanks
>    John
>    My matplotlib test results
>     sudo apt-cache policy python-matplotlib
>    [sudo] password for user:
>    python-matplotlib:
>      Installed: 0.98.3-4ubuntu1
>      Candidate: 0.98.3-4ubuntu1
>      Version table:
>     *** 0.98.3-4ubuntu1 0
>            500 [1]http://us.archive.ubuntu.com intrepid/universe Packages
>            100 /var/lib/dpkg/status
>    Output
>    >>> import pylab as P
>    Traceback (most recent call last):
>      File "<stdin>", line 1, in <module>
>      File "/usr/lib/python2.5/site-packages/pylab.py", line 1, in <module>
>        from matplotlib.pylab import *
>      File "/usr/lib/python2.5/site-packages/matplotlib/pylab.py", line
>    249, in <module>
>        from matplotlib.pyplot import *
>      File "/usr/lib/python2.5/site-packages/matplotlib/pyplot.py", line
>    75, in <module>
>        new_figure_manager, draw_if_interactive, show = pylab_setup()
>      File
>    "/usr/lib/python2.5/site-packages/matplotlib/backends/__init__.py",
>    line 23, in pylab_setup
>        globals(),locals(),[backend_name])
>      File
>    "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_tkagg.py"
>    , line 7, in <module>
>        import Tkinter as Tk, FileDialog
>      File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 41, in <module>
>        raise ImportError, str(msg) + ', please install the python-tk
>    package'
>    ImportError: No module named _tkinter, please install the python-tk
>    package
-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-1412 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list