[pymvpa] problem importing mvpa2.suite

Yaroslav Halchenko debian at onerussian.com
Wed Aug 1 22:37:08 UTC 2012


I believe it is just a matter of upgrading mdp you have

meanwhile -- a configurational workaround is to disable MDP bindings --
just edit your ~/.pymvpa2.cfg and add

[externals]
have mdp = no

that should prevent it from check if MDP is available etc (do you need it
within PyMVPA?)


On Wed, 01 Aug 2012, Frank Kanayet wrote:

>    Hello,
>    I;ve been using pymvpa for a little while and it was going fine. However,
>    yesterday I installed the most recent version of sklearn and after
>    installation, when I try to import mvpa2.suite is doesn't work and gives
>    the following error message:
>    In [2]: from mvpa2.suite import *
>    ---------------------------------------------------------------------------
>    NameError ��������������������������������Traceback (most recent call
>    last)
>    /Users/frankkanayet/<ipython-input-2-972bf264f2d0> in <module>()
>    ----> 1 from mvpa2.suite import *
>    /Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/mvpa2/suite.py
>    in <module>()
>    ���153 if externals.exists('mdp'):
>    ���154 ����from mvpa2.mappers.mdp_adaptor import *
>    --> 155 if externals.exists('mdp ge 2.4'):
>    ���156 ����from mvpa2.mappers.lle import *
>    ���157�
>    /Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/mvpa2/base/externals.pyc
>    in exists(dep, force, raise_, issueWarning)
>    ���607 ������������estr = ''
>    ���608 ������������try:
>    --> 609 ����������������exec _KNOWN[dep]
>    ���610 ����������������result = True
>    ���611 ������������except tuple(_caught_exceptions), e:
>    /Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/mvpa2/base/externals.pyc
>    in <module>()
>    /Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/mdp/__init__.py
>    in <module>()
>    ���163�
>    ���164 # import our modules
>    --> 165 import nodes
>    ���166 import hinet
>    ���167 import parallel
>    /Library/Frameworks/EPD64.framework/Versions/7.2/lib/python2.7/site-packages/mdp/nodes/__init__.py
>    in <module>()
>    ����53 ����from convolution_nodes import Convolution2DNode
>    ����54 ����__all__ += ['Convolution2DNode']
>    ---> 55 ����del convolution_nodes
>    ����56�
>    ����57 if config.has_shogun:
>    NameError: name 'convolution_nodes' is not defined
>    Can you help me to figure out what is wrong?
>    Thank you for your help!
-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
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