Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » libsbml-5.5.0 & python 3+
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Kai Wohlfahrt


Posts: 10
Registered:
June 2012
Re: libsbml-5.5.0 & python 3+ 22 Jun '12 09:24 Go to previous message

Many thanks for your help, this seems to work.

On a side note, I have come across a bug in swig-2.0.7
http://patch-tracker.debian.org/patch/series/view/swig2.0/2.0.7-2/pyint_fromsize_t.diff
which prevents libsbml from building with this version.

Kai

On Fri, Jun 22, 2012 at 3:42 PM, Frank T. Bergmann <fbergman@caltech.edu> wrote:
> Hello Kai,
>
> I believe with the next release of libSBML we can indeed provide binaries for python 3+, or now I have created binaries for windows 32 bit:
>
> https://dl.dropbox.com/u/69642848/libsbml-5.5.0-python32-x86.zip
>
> and windows  64 bit:
>
> https://dl.dropbox.com/u/69642848/libsbml-5.5.0-python32-x64.zip
>
> to install simply extract the archive within your \<python>\Lib\site-packages directory of your python 3.2 installation.
>
> best
> Frank
>
> On Jun 22, 2012, at 9:11 AM, Frank T. Bergmann wrote:
>
>> Hello Kai,
>>
>> while the source code for the python bindings *should* support python 3+, we, as of yet, do not distribute the binaries for it. Let me have a look and get back to you,
>>
>> all the best
>> Frank
>>
>> On Jun 22, 2012, at 1:40 AM, Kai Wohlfahrt wrote:
>>
>>> Hi all,
>>>
>>> I was wondering if libsbml-5.5.0 supports python 3? There are some old
>>> release notes from 4.0.0 saying " - Python bindings now support Python
>>> 3.x.", but I can't seem to get it to work (Windows 7, 64-bit python
>>> and libsbml)
>>>
>>> Binary install gives: "ImportError: DLL load failed: %1 is not a valid
>>> Win32 application." when I attempt "import libsbml". Do I do anything
>>> beyond adding the [sbml]/bindings/python/libsbml to sys.path?
>>>
>>> Trying to build from source gives an error "AttributeError: 'dict'
>>> object has no attribute 'has_key'', which I understand is a python 2/3
>>> issue. Does anybody know what the status of support is?
>>>
>>> Thanks,
>>> Kai
>>> ____________________________________________________________
>>> To manage your sbml-interoperability list subscription, visit
>>> https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability
>>>
>>> For a web interface to the sbml-interoperability mailing list, visit
>>> http://sbml.org/Forums/
>>>
>>> For questions or feedback about the sbml-interoperability list,
>>> contact sbml-team@caltech.edu
>>
>> ____________________________________________________________
>> To manage your sbml-interoperability list subscription, visit
>> https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability
>>
>> For a web interface to the sbml-interoperability mailing list, visit
>> http://sbml.org/Forums/
>>
>> For questions or feedback about the sbml-interoperability list,
>> contact sbml-team@caltech.edu
>
> ____________________________________________________________
> To manage your sbml-interoperability list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability
>
> For a web interface to the sbml-interoperability mailing list, visit
> http://sbml.org/Forums/
>
> For questions or feedback about the sbml-interoperability list,
> contact sbml-team@caltech.edu
____________________________________________________________
To manage your sbml-interoperability list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability

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

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

      

SubjectPosterDate
Read Message   libsbml-5.5.0 & python 3+ Kai Wohlfahrt21 Jun '12 16:40
Read Message   Re: libsbml-5.5.0 & python 3+ fbergman22 Jun '12 00:11
Read Message   Re: libsbml-5.5.0 & python 3+ fbergman22 Jun '12 07:42
Read Message   Re: libsbml-5.5.0 & python 3+ Kai Wohlfahrt22 Jun '12 09:01
Read Message   Re: libsbml-5.5.0 & python 3+  Kai Wohlfahrt22 Jun '12 09:24
Previous Topic:Problem installing Matlab Binding
Next Topic:Problem in installing MATLAB bindings
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.