| Author | Topic |
Posts: 8
Location: Stellenbosch, South Afric...
Registered: February 2005
|
|
Re: can't import libsbml 3.0 under python 2.5 for windows
|
13 Sep '07 00:49

|
 |
|
On Tuesday 11 September 2007 20:07, Sarah Keating wrote:
> I'll look into this but any input from anyone with more python
> experience (Brett ?) would be appreciated.
Hi Sarah, many thanks for the 2.5 bindings.
The following seems to work with both Python2.5 expat/xerces versions
of libsbml-3.0. In both cases I install the library and manually copy
libsbml.py and _libsbml.dll to site-packages.
> > python 2.5 works fine but trying to import libsmbl after
> > installing libsbml 3.0 I get the error: ImportError: No module
> > named _libsbml
Ok I get this as well but ...
While I'm not sure why, it seems as if Python2.5 doesn't like the .dll
extension, renaming _libsbml.dll to _libsbml.pyd fixes the problem.
I'd be interested to see if this works with your configuration?
> > I set the PYTHONPATH to the respective bindings directory in the
> > expat version of libsbml. The python files are all acessible for
> > all users. I even set the LD_LIBRARY_PATH even though for PYTHON
> > 2.4 it was not nessesary.
> >
> > best,
> >
> > joerg
> > ____________________________________________________________
> > To manage your libsbml-discuss list subscription, visit
> > https://utils.its.caltech.edu/mailman/listinfo/libsbml-discuss
> >
> > For a web interface to the libsbml-discuss mailing list, visit
> > http://sbml.org/forums/
> >
> > For questions or feedback about the libsbml-discuss list,
> > contact sbml-team@caltech.edu.
>
> ____________________________________________________________
> To manage your libsbml-discuss list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/libsbml-discuss
>
> For a web interface to the libsbml-discuss mailing list, visit
> http://sbml.org/forums/
>
> For questions or feedback about the libsbml-discuss list,
> contact sbml-team@caltech.edu.
--
Brett G. Olivier PhD
Stellenbosch University, SA National Bioinformatics Network
____________________________________________________________
To manage your libsbml-discuss list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-discuss
For a web interface to the libsbml-discuss mailing list, visit
http://sbml.org/forums/
For questions or feedback about the libsbml-discuss list,
contact sbml-team@caltech.edu.
|
|
|