[pymvpa] searchlight demo clarification

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


Can you make sure that you have up-to-date matplotlib installed?

because I've setup intrepid's chroot and with both 0.2.0 and 0.4.0
versions of pymvpa do not see any problem:

root at belka:/etc/ssh# apt-cache policy python-matplotlib
python-matplotlib:
  Installed: 0.98.3-4ubuntu1
  Candidate: 0.98.3-4ubuntu1
  Version table:
 *** 0.98.3-4ubuntu1 0
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

yoh at belka:/usr/share/doc/python-mvpa-doc/examples$ python searchlight_2d.py 
Running searchlight with radius: 1 ...
....


If you do have it installed, just try running python and do 'import pylab as P', what does it say? imports fine?

if so and our code still fails, just do

MVPA_DEBUG=EXT python searchlight_2d.py

it might puke some useful messages ;-)


On Fri, 05 Dec 2008, Michael Hanke wrote:

> Hi,

> On Fri, Dec 05, 2008 at 02:14:00PM -0500, Dornisch, John wrote:

> > Hello,  

> >   I know have installed the software on a Ubuntu 8.10 (intrepid) install.
> > I am getting an error when trying to run the searchlight 2 demo.

> > P.figure(figsize=(12,4))
> > NameError: name 'P' is not defined.

> > Any suggestions?
> Could you please run the attached script and post the output?

> Thanks,

> Michael
-- 
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