[Python.NET] Trouble getting Python for .NET to work in Ableton Live

Brian Lloyd brian.lloyd at revolutionhealth.com
Wed Dec 12 19:18:25 CET 2007



Not sure how insane this is, but if you want to really roll your sleeves
up you might be able to checkout the old python2.2-supporting branch of
python.net and build it using the .NET 2.x tool chain.

If it works (no guarantees, but it might), then you should at least be able
to load .net 2.x assemblies, though you wouldn't be able to leverage
features that were supported in .net 1.0.

I don't know much about Ableton (I'm a Sonar guy...), but if they haven't
done anything too weird to the python they ship with you could also
investigate dropping in a newer python exe, dlls and libs...

-Brian


On 12/12/07 12:30 PM, "Christian Heimes" <lists at cheimes.de> wrote:

> Feihong Hsu wrote:
>> Python 2.2 is a seriously old version of Python. There's no download of
>> Python.NET for Python 2.2 that I can see. You'd have to compile that
>> yourself, and I don't even know what version of Visual C++ was used to
>> compile Python 2.2 for Windows. Maybe the best solution at this point would
>> be to use the popen2 module to spawn your Python.NET-using scripts as
>> subprocesses, and communicate with your Ableton Live scripts using lines of
>> strings.
> 
> Python Dot NET doesn't support Python 2.2. It hardly supports 2.3 and
> 2.4. I keep 2.4 support around because Zope still uses 2.4. And I only
> added support to 2.3 because somebody asked me very nicely and the
> change to the code was was trivial.
> 
> However 2.2 is a no go for me. The API and ABI changes between 2.2 and
> 2.3 an too great and 2.2 is *really* old.
> 
> Christian
> 
> _________________________________________________
> Python.NET mailing list - PythonDotNet at python.org
> http://mail.python.org/mailman/listinfo/pythondotnet

--------------------------
Brian Lloyd

brian.lloyd at revolutionhealth.com




More information about the PythonDotNet mailing list