[pymvpa] problem in buiding package from source

Emanuele Olivetti emanuele at relativita.com
Tue Dec 28 08:50:31 UTC 2010


On 12/28/2010 08:03 AM, nitish goyal wrote:
> While installing pymvpa from source, I got this error
> i have ubuntu 10.04 and python 2.6
> I had used the first command *python setup.py build_ext*
> and got this error.Please help me.
>
...
> swig++: mvpa/clfs/libsvmc/svmc.i
> swig -python -c++ -I/usr/include/numpy -I3rd/libsvm -o 
> build/src.linux-i686-2.6/mvpa/clfs/libsvmc/svmc_wrap.cpp -outdir 
> build/src.linux-i686-2.6/mvpa/clfs/libsvmc mvpa/clfs/libsvmc/svmc.i
> unable to execute swig: No such file or directory
> error: command 'swig' failed with exit status 1
>

Hi Nitish. You need to install swig in order to build the libsvm wrapper. On debian/ubuntu:
     sudo apt-get install swig
See for example doc/source/installation.srt within the source code tree.

Best,

Emanuele

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101228/502da6ad/attachment.htm>


More information about the Pkg-ExpPsy-PyMVPA mailing list