Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » libsbml-development » installing python bindings under windows
Show: Today's Posts :: Unanswered Posts :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
AuthorTopic
Falko Krause


Posts: 30
Registered:
April 2007
installing python bindings under windows 24 Aug '09 03:01 Go to next message

When I try to install the python bindings under windows I get the
following error

running install
running build
running build_py
running build_ext
building '_libsbml' extension
swigging libsbml.i to libsbml_wrap.c
swig.exe -python -o libsbml_wrap.c libsbml.i
error: command 'swig.exe' failed: No such file or directory

Would it be possible to include this file? Is it really nessesary? The
libSBML installer was able to install the python bindings. In my installer
I want to install the python bindings if libsbml is installed without them.

Falko


--
************************************************
* Falko Krause
* Humboldt-Universität zu Berlin
* Theoretical Biophysics Group
* falko.krause@staff.hu-berlin.de
* +49 30 2093 8381
* skype: siphone
************************************************
____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development

For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu

      
Sarah Keating


Posts: 417
Registered:
May 2004
Re: installing python bindings under windows 24 Aug '09 04:00 Go to previous messageGo to next message

Hi Falko

SWIG is freely available from http://www.swig.org/ and they do a windows
executable - so it certainly isn't something we are likely to include in
the libsbml installer :-)

If libsbml has been installed on windows using the installer and the
user chose not to install the python bindings - they will in fact still
be there; just not in a site-packages location. They will be under
libsbml/bindings/python/python23 or python24 or python25. libSBML-4 will
provide python 2.6.

What did you use to get the output you list ??

Sarah

Falko Krause wrote:
> When I try to install the python bindings under windows I get the
> following error
>
> running install
> running build
> running build_py
> running build_ext
> building '_libsbml' extension
> swigging libsbml.i to libsbml_wrap.c
> swig.exe -python -o libsbml_wrap.c libsbml.i
> error: command 'swig.exe' failed: No such file or directory
>
> Would it be possible to include this file? Is it really nessesary? The
> libSBML installer was able to install the python bindings. In my installer
> I want to install the python bindings if libsbml is installed without them.
>
> Falko
>
>

____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development

For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu

      
Falko Krause


Posts: 30
Registered:
April 2007
Re: installing python bindings under windows 24 Aug '09 04:12 Go to previous message

sry here with the command I used and a directory listing
one comment to your text below

C:\Programme\SBML\libSBML-3.4.1-xerces-vc90\bindings\python\python25>python
setup.py install
running install
running build
running build_py
running build_ext
building '_libsbml' extension
swigging libsbml.i to libsbml_wrap.c
swig.exe -python -o libsbml_wrap.c libsbml.i
error: command 'swig.exe' failed: No such file or directory

C:\Programme\SBML\libSBML-3.4.1-xerces-vc90\bindings\python\python25>dir
Datenträger in Laufwerk C: ist System
Volumeseriennummer: 88A4-8FD1

Verzeichnis von
C:\Programme\SBML\libSBML-3.4.1-xerces-vc90\bindings\python\pyt
hon25

21.08.2009 16:09 <DIR> .
21.08.2009 16:09 <DIR> ..
20.08.2009 15:49 <DIR> build
29.07.2009 11:18 374.895 libsbml.py
16.07.2009 14:36 2.592 setup.py
29.07.2009 15:24 1.308.850 _libsbml.lib
29.07.2009 15:24 3.944.448 _libsbml.pyd
4 Datei(en) 5.630.785 Bytes
3 Verzeichnis(se), 11.026.460.672 Bytes frei

/f

On Mon, 24 Aug 2009 13:00:43 +0200, Sarah Keating <skeating@caltech.edu>
wrote:

> Hi Falko
>
> SWIG is freely available from http://www.swig.org/ and they do a windows
> executable - so it certainly isn't something we are likely to include in
> the libsbml installer :-)
>
> If libsbml has been installed on windows using the installer and the
> user chose not to install the python bindings - they will in fact still
> be there; just not in a site-packages location. They will be under
> libsbml/bindings/python/python23 or python24 or python25. libSBML-4 will
> provide python 2.6.

Good then it should be possible to install without downloading swig right?
All precompiled files are already there. Just the install script needs to
be modified to not call swig.

>
> What did you use to get the output you list ??
>
> Sarah
>
> Falko Krause wrote:
>> When I try to install the python bindings under windows I get the
>> following error
>>
>> running install
>> running build
>> running build_py
>> running build_ext
>> building '_libsbml' extension
>> swigging libsbml.i to libsbml_wrap.c
>> swig.exe -python -o libsbml_wrap.c libsbml.i
>> error: command 'swig.exe' failed: No such file or directory
>>
>> Would it be possible to include this file? Is it really nessesary? The
>> libSBML installer was able to install the python bindings. In my
>> installer
>> I want to install the python bindings if libsbml is installed without
>> them.
>>
>> Falko
>>
>>
>
> ____________________________________________________________
> To manage your libsbml-development list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
>
> For a web interface to the libsbml-development mailing list, visit
> http://sbml.org/Forums/
>
> For questions or feedback about the libsbml-development list,
> contact sbml-team@caltech.edu
>



--
************************************************
* Falko Krause
* Humboldt-Universität zu Berlin
* Theoretical Biophysics Group
* falko.krause@staff.hu-berlin.de
* +49 30 2093 8381
* skype: siphone
************************************************
____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development

For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu

      
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic:Release of libSBML-4.0.0
Next Topic:detecting libsbml on windows
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.