[pymvpa] Problem About running mvpa2 tutorial

Ceyhun Çakar cakar.ceyhun at gmail.com
Fri Oct 12 20:18:06 UTC 2012


Hello,

I have installed python-mvpa2 using synaptic in Ubuntu 12.04.1 LTS
64-bit. I want to study its tutorial but in Python when I import
tutorial (as  shown in http://www.pymvpa.org/tutorial_start.html), I
got following error:

ceyhun at ceyhun-ubuntu64:~$ python
Python 2.7.3 (default, Aug  1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mvpa2
>>> from mvpa2.tutorial_suite import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/mvpa2/tutorial_suite.py", line
15, in <module>
    from mvpa2.suite import *
  File "/usr/lib/pymodules/python2.7/mvpa2/suite.py", line 87, in <module>
    from mvpa2.clfs.smlr import *
  File "/usr/lib/pymodules/python2.7/mvpa2/clfs/smlr.py", line 31, in <module>
    from mvpa2.clfs.libsmlrc import stepwise_regression as _cStepwiseRegression
  File "/usr/lib/pymodules/python2.7/mvpa2/clfs/libsmlrc/__init__.py",
line 20, in <module>
    from mvpa2.clfs.libsmlrc.ctypes_helper import extend_args, c_darray
  File "/usr/lib/pymodules/python2.7/mvpa2/clfs/libsmlrc/ctypes_helper.py",
line 15, in <module>
    c_darray = np.ctypeslib.ndpointer(dtype=np.float64,
flags='aligned,contiguous')
  File "/usr/lib/python2.7/dist-packages/numpy/ctypeslib.py", line
264, in ndpointer
    num = _num_fromflags(flags)
  File "/usr/lib/python2.7/dist-packages/numpy/ctypeslib.py", line
139, in _num_fromflags
    num += _flagdict[val]
KeyError: 'ALiGNED'

Is there anybody who can help me?

Thanks,
Sincerely,
-- 
Ceyhun Çakar
cakar.ceyhun at gmail.com



More information about the Pkg-ExpPsy-PyMVPA mailing list