[pymvpa] Error with from mvpa.suite import *

Roberto Guidotti robbenson18 at gmail.com
Tue Mar 29 09:02:29 UTC 2011


2011/3/28 Yaroslav Halchenko <debian at onerussian.com>

> not sure  what is wrong with MDP -- its code in mdp 3.0 looks ok
>
> 1.
> to overcome it, just disable mdp and check for mdp ge 2.4 at once (or do
> you need MDP functionality?) by adding
>
> [externals]
> have mdp = no
> have mdp ge 24 = no
>
> to your ~/.pymvpa.cfg
>
>
So, I haven't the ~/.pymvpa.cfg file, I have only the configuration file
examples.


> 2.
> what happens if you just do
>
> python -c 'from mdp.nodes import LLENode as __'
>

This one raise me an exception, I'll attach the exception, tell me if I have
to do something else...

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/mdp/__init__.py", line 166, in <module>
    import nodes
  File "/usr/lib/pymodules/python2.6/mdp/nodes/__init__.py", line 67, in
<module>
    import scikits_nodes
  File "/usr/lib/pymodules/python2.6/mdp/nodes/scikits_nodes.py", line 428,
in <module>
    lambda c: wrap_scikits_algorithms(c, scikits_nodes))
  File "/usr/lib/pymodules/python2.6/mdp/nodes/scikits_nodes.py", line 151,
in apply_to_scikits_algorithms
    processed_classes)
  File "/usr/lib/pymodules/python2.6/mdp/nodes/scikits_nodes.py", line 151,
in apply_to_scikits_algorithms
    processed_classes)
  File "/usr/lib/pymodules/python2.6/mdp/nodes/scikits_nodes.py", line 145,
in apply_to_scikits_algorithms
    action(member)
  File "/usr/lib/pymodules/python2.6/mdp/nodes/scikits_nodes.py", line 428,
in <lambda>
    lambda c: wrap_scikits_algorithms(c, scikits_nodes))
  File "/usr/lib/pymodules/python2.6/mdp/nodes/scikits_nodes.py", line 422,
in wrap_scikits_algorithms
    nodes_list.append(wrap_scikits_transformer(scikits_class))
  File "/usr/lib/pymodules/python2.6/mdp/nodes/scikits_nodes.py", line 309,
in wrap_scikits_transformer
    scikits_method = getattr(scikits_class, scikits_name)
AttributeError: type object 'CoefSelectTransformerMixin' has no attribute
'fit'


> what version  of MDP do you have?
>
>  apt-cache policy python-mdp
>

I think I have the latest version:
python-mdp:
  Installed: 3.0+git8-g921253a-1~nd10.10+1
  Candidate: 3.0+git8-g921253a-1~nd10.10+1


> if below 3.0, then try upgrading to it available from neuro.debian.net:
> http://neuro.debian.net/pkgs/python-mdp.html
>
>
Probably is a stupid error, but I've only upgraded the PyMVPA version
installin from synaptic the python-mvpa-snapshot and
python-mvpa-snapshot-lib.

Thank you very much
Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20110329/4d231077/attachment.htm>


More information about the Pkg-ExpPsy-PyMVPA mailing list