[pymvpa] Pkg-ExpPsy-PyMVPA Digest, Vol 34, Issue 15

Hiroyuki AKAMA akama.h.aa at m.titech.ac.jp
Tue Dec 28 13:39:06 UTC 2010


Hi!

Perhaps you might want to install Python2.6-dev because the system couldn't find Python.h 
cf.
http://www.singhvishwajeet.com/2009/09/16/solving-the-build-error-python-h-no-such-file-or-directory-on-ubuntu/

Best

Hiroyuki AKAMA
Associate Professor
Tokyo Institute of Technology
http://www.dp.hum.titech.ac.jp/~akama/akamaE.html

----- Original Message -----
>> From: pkg-exppsy-pymvpa-request at lists.alioth.debian.org
>> To: pkg-exppsy-pymvpa at lists.alioth.debian.org
>> Date: 2010-12-28 22:15:26
>> Subject: Pkg-ExpPsy-PyMVPA Digest, Vol 34, Issue 15
>> 
>> Send Pkg-ExpPsy-PyMVPA mailing list submissions to
>> 	pkg-exppsy-pymvpa at lists.alioth.debian.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>> 	http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>> or, via email, send a message with subject or body 'help' to
>> 	pkg-exppsy-pymvpa-request at lists.alioth.debian.org
>> 
>> You can reach the person managing the list at
>> 	pkg-exppsy-pymvpa-owner at lists.alioth.debian.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Pkg-ExpPsy-PyMVPA digest..."
>> 
>> 
>> Today's Topics:
>> 
>>    1. Re: Pkg-ExpPsy-PyMVPA Digest, Vol 34, Issue 14 (nitish goyal)
>> 
>> 
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Tue, 28 Dec 2010 18:45:12 +0530
>> From: nitish goyal <nitishgoyal.nsit at gmail.com>
>> Subject: Re: [pymvpa] Pkg-ExpPsy-PyMVPA Digest, Vol 34, Issue 14
>> To: pkg-exppsy-pymvpa at lists.alioth.debian.org
>> Message-ID:
>> 	<AANLkTinxajd2ZPtze2D9w9w1duPwoaqLRDqDW0farE5B at mail.gmail.com>
>> Content-Type: text/plain; charset="windows-1252"
>> 
>> after installing swig i got this error
>> 
>> root at nitish-laptop:~/PyMVPA# python2 setup.py build_ext
>> running build_ext
>> running build_src
>> building extension "mvpa.clfs.libsmlrc.smlrc" sources
>> building extension "mvpa.clfs.libsvmc._svmc" sources
>> building data_files sources
>> customize UnixCCompiler
>> customize UnixCCompiler using build_ext
>> customize UnixCCompiler
>> customize UnixCCompiler using build_ext
>> building 'mvpa.clfs.libsmlrc.smlrc' extension
>> compiling C sources
>> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
>> -Wstrict-prototypes -fPIC
>> 
>> compile options: '-I/usr/lib/python2.6/dist-packages/numpy/core/include
>> -I/usr/include/python2.6 -c'
>> gcc: mvpa/clfs/libsmlrc/smlr.c
>> mvpa/clfs/libsmlrc/smlr.c:10:20: error: Python.h: No such file or directory
>> mvpa/clfs/libsmlrc/smlr.c:13: warning: return type defaults to ?int?
>> mvpa/clfs/libsmlrc/smlr.c: In function ?DL_EXPORT?:
>> mvpa/clfs/libsmlrc/smlr.c:13: error: expected declaration specifiers before
>> ?stepwise_regression?
>> mvpa/clfs/libsmlrc/smlr.c:241: error: expected declaration specifiers before
>> ?PyMODINIT_FUNC?
>> mvpa/clfs/libsmlrc/smlr.c:12: error: parameter name omitted
>> mvpa/clfs/libsmlrc/smlr.c:244: error: expected ?{? at end of input
>> mvpa/clfs/libsmlrc/smlr.c:10:20: error: Python.h: No such file or directory
>> mvpa/clfs/libsmlrc/smlr.c:13: warning: return type defaults to ?int?
>> mvpa/clfs/libsmlrc/smlr.c: In function ?DL_EXPORT?:
>> mvpa/clfs/libsmlrc/smlr.c:13: error: expected declaration specifiers before
>> ?stepwise_regression?
>> mvpa/clfs/libsmlrc/smlr.c:241: error: expected declaration specifiers before
>> ?PyMODINIT_FUNC?
>> mvpa/clfs/libsmlrc/smlr.c:12: error: parameter name omitted
>> mvpa/clfs/libsmlrc/smlr.c:244: error: expected ?{? at end of input
>> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
>> -Wall -Wstrict-prototypes -fPIC
>> -I/usr/lib/python2.6/dist-packages/numpy/core/include
>> -I/usr/include/python2.6 -c mvpa/clfs/libsmlrc/smlr.c -o
>> build/temp.linux-i686-2.6/mvpa/clfs/libsmlrc/smlr.o" failed with exit status
>> 1
>> 
>> On Tue, Dec 28, 2010 at 5:45 PM, <
>> pkg-exppsy-pymvpa-request at lists.alioth.debian.org> wrote:
>> 
>> > Send Pkg-ExpPsy-PyMVPA mailing list submissions to
>> >        pkg-exppsy-pymvpa at lists.alioth.debian.org
>> >
>> > To subscribe or unsubscribe via the World Wide Web, visit
>> >        http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>> > or, via email, send a message with subject or body 'help' to
>> >        pkg-exppsy-pymvpa-request at lists.alioth.debian.org
>> >
>> > You can reach the person managing the list at
>> >        pkg-exppsy-pymvpa-owner at lists.alioth.debian.org
>> >
>> > When replying, please edit your Subject line so it is more specific
>> > than "Re: Contents of Pkg-ExpPsy-PyMVPA digest..."
>> >
>> >
>> > Today's Topics:
>> >
>> >   1. Re: Help Related Pymvpa (Yaroslav Halchenko)
>> >   2. problem in buiding package from source (nitish goyal)
>> >   3. Re: problem in buiding package from source (Emanuele Olivetti)
>> >
>> >
>> > ----------------------------------------------------------------------
>> >
>> > Message: 1
>> > Date: Mon, 27 Dec 2010 10:26:44 -0500
>> > From: Yaroslav Halchenko <debian at onerussian.com>
>> > Subject: Re: [pymvpa] Help Related Pymvpa
>> > To: pkg-exppsy-pymvpa at lists.alioth.debian.org
>> > Message-ID: <20101227152644.GR15030 at onerussian.com>
>> > Content-Type: text/plain; charset=us-ascii
>> >
>> >
>> > On Mon, 27 Dec 2010, Emanuele Olivetti wrote:
>> > > You are warmly invited to install the latest PyMVPA v0.6.0-dev. If you
>> > are
>> > > running a debian or ubuntu machine you can add the NeuroDebian repository
>> > > following instructions here:
>> > >     http://neuro.debian.net/
>> > > and then get it via [0]:
>> > >     sudo apt-get install python-mvpa-snapshot
>> > we are yet to package 0.6.0.dev, the package on neuro debian has only
>> > 0.5.0.dev+783+gde39-1~squeeze.nd1
>> >
>> > thus please just follow instructions for installation from GIT/source
>> > atm:
>> >
>> > http://dev.pymvpa.org/installation.html#buildfromsource
>> >
>> >
>> > > Alternatively you can install it from sources on whatever OS:
>> > >     https://github.com/PyMVPA/PyMVPA
>> >
>> > > See related posts to here:
>> > >
>> > http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001296.html
>> > >
>> > http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001328.html
>> >
>> > > Best,
>> >
>> > > Emanuele
>> > --
>> > =------------------------------------------------------------------=
>> > Keep in touch                                     www.onerussian.com
>> > Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic
>> >
>> >
>> >
>> > ------------------------------
>> >
>> > Message: 2
>> > Date: Tue, 28 Dec 2010 12:33:04 +0530
>> > From: nitish goyal <nitishgoyal.nsit at gmail.com>
>> > Subject: [pymvpa] problem in buiding package from source
>> > To: pkg-exppsy-pymvpa at lists.alioth.debian.org
>> > Message-ID:
>> >        <AANLkTikvrRuTP4rbhTOD9UcAZf+0yp-91UQoU1i4URAR at mail.gmail.com<AANLkTikvrRuTP4rbhTOD9UcAZf%2B0yp-91UQoU1i4URAR at mail.gmail.com>
>> > >
>> > Content-Type: text/plain; charset="iso-8859-1"
>> >
>> > 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.
>> >
>> > running build_ext
>> > running build_src
>> > building extension "mvpa.clfs.libsmlrc.smlrc" sources
>> > building extension "mvpa.clfs.libsvmc._svmc" sources
>> > creating build
>> > creating build/src.linux-i686-2.6
>> > creating build/src.linux-i686-2.6/mvpa
>> > creating build/src.linux-i686-2.6/mvpa/clfs
>> > creating build/src.linux-i686-2.6/mvpa/clfs/libsvmc
>> > 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
>> >
>> >
>> > On Mon, Dec 27, 2010 at 5:45 PM, <
>> > pkg-exppsy-pymvpa-request at lists.alioth.debian.org> wrote:
>> >
>> > > Send Pkg-ExpPsy-PyMVPA mailing list submissions to
>> > >        pkg-exppsy-pymvpa at lists.alioth.debian.org
>> > >
>> > > To subscribe or unsubscribe via the World Wide Web, visit
>> > >        http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>> > > or, via email, send a message with subject or body 'help' to
>> > >        pkg-exppsy-pymvpa-request at lists.alioth.debian.org
>> > >
>> > > You can reach the person managing the list at
>> > >        pkg-exppsy-pymvpa-owner at lists.alioth.debian.org
>> > >
>> > > When replying, please edit your Subject line so it is more specific
>> > > than "Re: Contents of Pkg-ExpPsy-PyMVPA digest..."
>> > >
>> > >
>> > > Today's Topics:
>> > >
>> > >   1. Help Related Pymvpa (nitish goyal)
>> > >   2. Re: Help Related Pymvpa (Emanuele Olivetti)
>> > >
>> > >
>> > > ----------------------------------------------------------------------
>> > >
>> > > Message: 1
>> > > Date: Sun, 26 Dec 2010 21:57:26 +0530
>> > > From: nitish goyal <nitishgoyal.nsit at gmail.com>
>> > > Subject: [pymvpa] Help Related Pymvpa
>> > > To: pkg-exppsy-pymvpa at lists.alioth.debian.org
>> > > Message-ID:
>> > >        <AANLkTimBBHRYaLfdU+1-yeiX=bBg+bhhe=n3Ln=9Gqx- at mail.gmail.com>
>> > > Content-Type: text/plain; charset="iso-8859-1"
>> > >
>> > > Hello,
>> > >          I am a B.tech student of computer science at NSIT. I had just
>> > > started using the pymvpa, but the methods like fmri_dataset() are not
>> > > working with my pymvpa 0.4. But i found these tutorials very promising in
>> > > order to study fmri Data. So Tell me if there are any tutorial like this
>> > > for
>> > > the previous version Or tell me where i would found the pymvpa 0.6.
>> > > Please reply soon.
>> > > Because i have to complete it during these winter vacation's.
>> > >
>> > > --
>> > > Regards,
>> > > Nitish Goyal
>> > > Undergraduate Student Of NSIT,
>> > > Computer Science (B.E.)
>> > > Asst. PlaceComm 2012
>> > > contact me:- 09999605824
>> > > Reply at :-  nitishgoyal.nsit at gmail.com
>> > > -------------- next part --------------
>> > > An HTML attachment was scrubbed...
>> > > URL: <
>> > >
>> > http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101226/bba67594/attachment-0001.htm
>> > > >
>> > >
>> > > ------------------------------
>> > >
>> > > Message: 2
>> > > Date: Mon, 27 Dec 2010 10:40:12 +0100
>> > > From: Emanuele Olivetti <emanuele at relativita.com>
>> > > Subject: Re: [pymvpa] Help Related Pymvpa
>> > > To: Development and support of PyMVPA
>> > >        <pkg-exppsy-pymvpa at lists.alioth.debian.org>
>> > > Message-ID: <4D185EFC.6020609 at relativita.com>
>> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> > >
>> > > On 12/26/2010 05:27 PM, nitish goyal wrote:
>> > > > Hello,
>> > > >           I am a B.tech student of computer science at NSIT. I had just
>> > > started using
>> > > > the pymvpa, but the methods like fmri_dataset() are not working with my
>> > > pymvpa 0.4. But
>> > > > i found these tutorials very promising in order to study fmri Data. So
>> > > Tell me if there
>> > > > are any tutorial like this for the previous version Or tell me where i
>> > > would found the
>> > > > pymvpa 0.6.
>> > >
>> > > Hi Nitish,
>> > >
>> > > fmri_dataset() was introduced in PyMVPA v0.5.0-dev and is available from
>> > > that version on. See:
>> > > http://dev.pymvpa.org/generated/mvpa.datasets.mri.fmri_dataset.html
>> > >
>> > > You are warmly invited to install the latest PyMVPA v0.6.0-dev. If you
>> > are
>> > > running a debian or ubuntu machine you can add the NeuroDebian repository
>> > > following instructions here:
>> > >     http://neuro.debian.net/
>> > > and then get it via [0]:
>> > >     sudo apt-get install python-mvpa-snapshot
>> > > Alternatively you can install it from sources on whatever OS:
>> > >     https://github.com/PyMVPA/PyMVPA
>> > >
>> > > See related posts to here:
>> > >
>> > >
>> > http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001296.html
>> > >
>> > >
>> > http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/2010q4/001328.html
>> > >
>> > > Best,
>> > >
>> > > Emanuele
>> > >
>> > > [0]: Note that the python-mvpa-snapshot package is not available for all
>> > > versions of ubuntu/debian (e.g., not for ubuntu 10.04):
>> > >     http://neuro.debian.net/pkgs/python-mvpa-snapshot.html
>> > >
>> > >
>> > >
>> > >
>> > > ------------------------------
>> > >
>> > > _______________________________________________
>> > > Pkg-ExpPsy-PyMVPA mailing list
>> > > Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
>> > > http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>> > >
>> > >
>> > > End of Pkg-ExpPsy-PyMVPA Digest, Vol 34, Issue 13
>> > > *************************************************
>> > >
>> >
>> >
>> >
>> > --
>> > Regards,
>> > Nitish Goyal
>> > Undergraduate Student Of NSIT,
>> > Computer Science (B.E.)
>> > Asst. PlaceComm 2012
>> > contact me:- 09999605824
>> > Reply at :-  nitishgoyal.nsit at gmail.com
>> > -------------- next part --------------
>> > An HTML attachment was scrubbed...
>> > URL: <
>> > http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101228/eceb52e9/attachment-0001.htm
>> > >
>> >
>> > ------------------------------
>> >
>> > Message: 3
>> > Date: Tue, 28 Dec 2010 09:50:31 +0100
>> > From: Emanuele Olivetti <emanuele at relativita.com>
>> > Subject: Re: [pymvpa] problem in buiding package from source
>> > To: Development and support of PyMVPA
>> >        <pkg-exppsy-pymvpa at lists.alioth.debian.org>
>> > Message-ID: <4D19A4D7.1000801 at relativita.com>
>> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>> >
>> > 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-0001.htm
>> > >
>> >
>> > ------------------------------
>> >
>> > _______________________________________________
>> > Pkg-ExpPsy-PyMVPA mailing list
>> > Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
>> > http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>> >
>> >
>> > End of Pkg-ExpPsy-PyMVPA Digest, Vol 34, Issue 14
>> > *************************************************
>> >
>> 
>> 
>> 
>> -- 
>> Regards,
>> Nitish Goyal
>> Undergraduate Student Of NSIT,
>> Computer Science (B.E.)
>> Asst. PlaceComm 2012
>> contact me:- 09999605824
>> Reply at :-  nitishgoyal.nsit at gmail.com
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20101228/46b23a09/attachment.htm>
>> 
>> ------------------------------
>> 
>> _______________________________________________
>> Pkg-ExpPsy-PyMVPA mailing list
>> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
>> 
>> 
>> End of Pkg-ExpPsy-PyMVPA Digest, Vol 34, Issue 15
>> *************************************************
>> 



More information about the Pkg-ExpPsy-PyMVPA mailing list