[pymvpa] trouble using tutorials

Yaroslav Halchenko debian at onerussian.com
Wed Apr 12 20:07:49 UTC 2017


On Wed, 12 Apr 2017, Adam Jones wrote:

> Hello all,

> I am having trouble using several of the tutorials, which contain the
> following command:
> cfg.get('location', 'tutorial data')

> Having read the following webpage: http://www.pymvpa.org/misc.html,
> I believe the above command should return the path to my 'data' folder
> (e.g. /usr/lib/python2.7/dist-packages/mvpa2/data/).
> But, instead it returns None.

> I've tried un-commenting and setting line 129 of pymvpa2.cfg to 'root =
> /usr/lib/python2.7/dist-packages/mvpa2/data/', and placing that file in my
> $HOME directory (as per instructions), to no effect.

> Can anyone tell me how to setup config files appropriately to run these
> tutorials?

sorry 
since it seems that you are using Debian-based system and thus installed
already python-mvpa2 package.  Now

    sudo apt-get install python-mvpa2-tutorialdata python-mvpa2-doc  

NB you might need to enable http://neuro.debian.net repository if you
haven't yet

and just type

    pymvpa2-tutorial --use-notebook

and see what happens ;)

Data under /usr/lib/python2.7/dist-packages/mvpa2/data/  is just for
testing, not sufficient for tutorials

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list