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

Yaroslav Halchenko debian at onerussian.com
Mon Apr 7 14:50:40 UTC 2008

if you have libsvm installed system-wide (Debian package as shipped with
Ubuntu but I am lazy to check which version it actually ships in
gutsy), there is no need to install pymvpa system-wide. Just run

make build

that should do it (it would create some ad-hoc links for local use).

If you are to install it system wide -- then it is better to build a
proper Debian package. Workflow should be

git co debian
git merge master (or your branch)
git-buildpackage # (or dpkg-buildpackage but with exclusion

though millage might vary ;-)
Michael might correct me here on Debian building part

On Mon, 07 Apr 2008, Emanuele Olivetti wrote:

> 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.

> _______________________________________________
> Pkg-exppsy-pymvpa mailing list
> Pkg-exppsy-pymvpa at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa

Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        

More information about the Pkg-exppsy-pymvpa mailing list