<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 12/28/2010 08:03 AM, nitish goyal wrote:
<blockquote
cite="mid:AANLkTikvrRuTP4rbhTOD9UcAZf+0yp-91UQoU1i4URAR@mail.gmail.com"
type="cite">While installing pymvpa from source, I got this error<br>
i have ubuntu 10.04 and python 2.6<br>
I had used the first command <b>python setup.py build_ext</b><br>
and got this error.Please help me.<br>
<br>
</blockquote>
...<br>
<blockquote
cite="mid:AANLkTikvrRuTP4rbhTOD9UcAZf+0yp-91UQoU1i4URAR@mail.gmail.com"
type="cite">swig++: mvpa/clfs/libsvmc/svmc.i<br>
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<br>
unable to execute swig: No such file or directory<br>
error: command 'swig' failed with exit status 1<br>
<br>
</blockquote>
<br>
Hi Nitish. You need to install swig in order to build the libsvm
wrapper. On debian/ubuntu:<br>
sudo apt-get install swig<br>
See for example doc/source/installation.srt within the source code
tree.<br>
<br>
Best,<br>
<br>
Emanuele<br>
<br>
</body>
</html>