[pymvpa] Error with "from mvpa2.tutorial_suite import *"

Nick Oosterhof nikolaas.oosterhof at unitn.it
Thu Jan 23 17:15:06 UTC 2014


On Jan 23, 2014, at 6:03 PM, Payal Chakraborty wrote:

> I am trying to get started on the tutorial, but when entered "from mvpa2.tutorial_suite import *" I got the error message below. Does anyone know why this is happening? 
> [...]
> In [8]: from mvpa2.tutorial_suite import *
> 
> /usr/lib64/python2.6/site-packages/mvpa2/misc/surfing/volsurf.py in <module>()
> 
>      18 import numpy as np
> 
>      19 
> 
> ---> 20 from functools import total_ordering

This is because Python 2.6, which you are using, does not provide total_ordering. Python 2.7 and later does support it.

I wrote that code so I'm the one who should get most blame for it too. I'll have a look on how to fix this and keep you posted.


More information about the Pkg-ExpPsy-PyMVPA mailing list