[pymvpa] trouble importing mvpa2.suite

Yaroslav Halchenko debian at onerussian.com
Wed Sep 13 13:21:59 UTC 2017


On Wed, 13 Sep 2017, Anna Manelis wrote:

>    Dear PYMVPA developers,

>    I have installed mvpa2 on my Debian computer, but cannot import
>    mvpa2.suite for some reason.

>    >>> import mvpa2.suite as mvpa2

>    Traceback (most recent call last):
>      File "<stdin>", line 1, in <module>
>      File "/usr/lib/pymodules/python2.7/mvpa2/suite.py", line 98, in
>    <module>
>        from mvpa2.clfs.warehouse import *
>      File "/usr/lib/pymodules/python2.7/mvpa2/clfs/warehouse.py", line 357,
>    in <module>
>        sklPLSRegression = _skl_import('pls', 'PLSRegression')
>      File "/usr/lib/pymodules/python2.7/mvpa2/clfs/warehouse.py", line 313,
>    in _skl_import
>        submod_ = __import__('sklearn.%s' % submod, fromlist=[submod])
>    ImportError: No module named pls

incompatibility with sklearn -- some API changes I guess we didn't spot

could you Anna (howdoyoudobtw????) provide output of

python -c 'import mvpa2; print mvpa2.wtf()'

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