[pymvpa] An error in the very first step of the tutorial

Yaroslav Halchenko debian at onerussian.com
Thu Mar 3 16:43:05 UTC 2011


you have no nibabel module.

I would recommend:
add corresponding .list file pointing to neurodebian repository:
http://neuro.debian.net/#how-to-use-this-repository
apt-get update
apt-get install python-nibabel

ideally you want to install all recommends of python-mvpa-snapshot
package to get all optional dependencies

On Thu, 03 Mar 2011, Glen Lee wrote:

>    Hello,
>    I'm a newbie for PyMVPA and just started going over the tutorial.
>    Unfortunately, I have no idea what the following errors are (see below)
>    that I received after run the very first command in the tutorial.
>    Particularly, it gave me Deparecation warning and complained that there
>    is no module Nibabel.
>    It'd be great if anybody explains those errors and how to fix.
>    -Glen
>    -----------------------------------------------------------------------
>    ------------------------------------
>    In [1]: from tutorial_lib import *
>    /usr/lib/pymodules/python2.6/mvpa/base/verbosity.py:19:
>    DeprecationWarning: the sets module is deprecated
>      from sets import Set
>    /usr/lib/pymodules/python2.6/matplotlib/numerix/__init__.py:18:
>    DeprecationWarning:
>    **********************************************************
>    matplotlib.numerix and all its subpackages are deprecated.
>    They will be removed soon.  Please use numpy instead.
>    **********************************************************
>      warnings.warn(msg, DeprecationWIn [1]: from tutorial_lib import *
>    /usr/lib/pymodules/python2.6/mvpa/base/verbosity.py:19:
>    DeprecationWarning: the sets module is deprecated
>      from sets import Set
>    /usr/lib/pymodules/python2.6/matplotlib/numerix/__init__.py:18:
>    DeprecationWarning:
>    **********************************************************
>    matplotlib.numerix and all its subpackages are deprecated.
>    They will be removed soon.  Please use numpy instead.
>    **********************************************************
>      warnings.warn(msg, DeprecationWarning)
>    -----------------------------------------------------------------------
>    ----
>    ImportError                               Traceback (most recent call
>    last)
>    /home/ysl/Downloads/tutorial_data/<ipython console> in <module>()
>    /home/ysl/Downloads/tutorial_data/tutorial_lib.py in <module>()
>         14 # later replace with
>         15 from mvpa.suite import *
>    ---> 16 import nibabel as nb
>         17
>         18 tutorial_data_path = mvpa.cfg.get('location', 'tutorial data',
>    default=os.path.curdir)
>    ImportError: No module named nibabel
>    arning)
>    -----------------------------------------------------------------------
>    ----
>    ImportError                               Traceback (most recent call
>    last)
>    /home/ysl/Downloads/tutorial_data/<ipython console> in <module>()
>    /home/ysl/Downloads/tutorial_data/tutorial_lib.py in <module>()
>         14 # later replace with
>         15 from mvpa.suite import *
>    ---> 16 import nibabel as nb
>         17
>         18 tutorial_data_path = mvpa.cfg.get('location', 'tutorial data',
>    default=os.path.curdir)
>    ImportError: No module named nibabel

> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa


-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic



More information about the Pkg-ExpPsy-PyMVPA mailing list