|
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
|