[Pkg-exppsy-pymvpa] troubles install/example pyMVPA

Emanuele Olivetti emanuele at relativita.com
Mon Apr 7 14:14:38 UTC 2008


Dear all,

while installing/trying pyMVPA from sources (git clone) I had some
troubles. They are not big issues but I think it worth mentioning.

About libsvm.so.2.85.0: "DESTDIR=/usr/local make install"
fails. It creates /usr/loca/usr/include/libsvm and places there svm.h.
Trying to do the same for libs (in /usr/local/usr/lib...) it stops with
an error. How to point to the correct path /usr/local/{lib|include} ?

You can of course copy manually svm.h and lisvm.so* to the correct
paths. Then python build step has to be changed to:
CFLAGS="-I/usr/local/include/libsvm" python setup.py build_ext

This is not a major problem but it could be a stopper for
inexperienced users.

After successful compilation I had some problem with
doc/examples/*.py . All examples can't find libsmlr:
---------------
$ python clfs_examples.py
Traceback (most recent call last):
  File "clfs_examples.py", line 39, in <module>
    from mvpa.clfs.warehouse import clfs
  File "/usr/lib/python2.5/site-packages/mvpa/clfs/warehouse.py", line
20, in <module>
    from mvpa.clfs.smlr import SMLR
  File "/usr/lib/python2.5/site-packages/mvpa/clfs/smlr.py", line 20, in
<module>
    from mvpa.clfs.libsmlr import stepwise_regression as
_cStepwiseRegression
ImportError: No module named libsmlr
---------------
I don't fully understand why, since mvpa works (pylab_2d.py runs fine)
and /usr/lib/python2.5/site-packages/mvpa/clfs/libsmlr/smlrc.so
exists.

In the meanwhile I'm playing with pylab_2d.py.

Bye,

Emanuele

P.S.: my linux box is ubuntu gutsy 64bit.




More information about the Pkg-exppsy-pymvpa mailing list