How to find the version of python used?
How to find the version of python used?
Hi! How can I find the exact python version Ableton uses?
I need it to compile custom remote midi scripts.
I need it to compile custom remote midi scripts.
-
- Posts: 35
- Joined: Mon Apr 11, 2022 1:09 am
Re: How to find the version of python used?
Can't tell you for sure, but I dragged a .pyc file from Ableton 12.1.10's Contents/App-Resources/MIDI Remote Scripts folder to pylingual.io and it said it was 3.11.
e.g. https://www.pylingual.io/view_chimera?i ... 71a4bde797
e.g. https://www.pylingual.io/view_chimera?i ... 71a4bde797
Re: How to find the version of python used?
If you put .py files in the remote scripts folder, Live should compile them on its own.
Re: How to find the version of python used?
Yeah I've just found that, this makes things easier!
The problem is I can't find any working example of .py files for remote scripts. The ones I have found here https://github.com/gluon/AbletonLive12_ ... oteScripts don't load correctly, I have checked the Ableton log.txt and there are python errors

Re: How to find the version of python used?
You can join the discord server here and i'll put a basic working script in "ableton-remote-scripts" channel if you want.
https://discord.com/invite/KjqX9aY6jK
https://discord.com/invite/KjqX9aY6jK
Re: How to find the version of python used?
Awesome, joined! What is this discord about?dr_kant wrote: ↑Tue Mar 11, 2025 10:00 amYou can join the discord server here and i'll put a basic working script in "ableton-remote-scripts" channel if you want.
https://discord.com/invite/KjqX9aY6jK
Re: How to find the version of python used?
It's my artist server and also for updates about my TouchOSC app.
I've added an ableton-remote-scripts channel for anyone interested in discussing remote scripts.
I put the script there, it's a really basic "Hello World" example, might be usefull depending on what you want to do.
If you want to modify an existing controller script listed in your link the best way it to try debuging it.
-
- Posts: 16
- Joined: Thu Sep 24, 2015 2:41 am
Re: How to find the version of python used?
I'm pretty sure you already got your answer, but this is something that racked my brain until I figured it out.
When you run "uncompyle6" on Live 12 MRS scripts, you can get errors that all basically mean, "this is 3.11 bytecode but I can only un-compile code compiled by 3.8 or below, sorry". You don't see those same errors when you run "uncompyle6" on Live 11 MRS scripts.
<edit> You can write custom scripts based on code decompiled from Live 11 (3.8 or lower bytecode) that work in Live 12 (recompiled by Live 12 into 3.11 bytecode)</edit>
When you run "uncompyle6" on Live 12 MRS scripts, you can get errors that all basically mean, "this is 3.11 bytecode but I can only un-compile code compiled by 3.8 or below, sorry". You don't see those same errors when you run "uncompyle6" on Live 11 MRS scripts.
<edit> You can write custom scripts based on code decompiled from Live 11 (3.8 or lower bytecode) that work in Live 12 (recompiled by Live 12 into 3.11 bytecode)</edit>