Import Python Modules in Control Surfaces
Import Python Modules in Control Surfaces
Not sure if this is the best place to ask this, but I don't know of any Ableton Python programmers community... I'm trying to add keystroke events in my control surface script for controlling things not possible with the current Live API. I've installed pynput and it works fine, but when I try it with Live, the log file says it can't find the module. Is there any way to use external Python libraries in Live?
I'm fairly new at scripting, so some of these concepts are beyond me, but I can get around with controlling most of Live's objects through Control Surface scripts. Thanks for your help!
I'm fairly new at scripting, so some of these concepts are beyond me, but I can get around with controlling most of Live's objects through Control Surface scripts. Thanks for your help!
Re: Import Python Modules in Control Surfaces
Hhmm, thanks for the tip. Unfortunately it gave me this error:
That magic number sounds very interesting.
Code: Select all
ImportError: bad magic number in 'clyphx_pro': b'\x03\xf3\r\n'
-
- Posts: 137
- Joined: Tue Apr 07, 2020 2:23 pm
Re: Import Python Modules in Control Surfaces
I've been working on a script over the last week and one thing I noticed was Clyphx is generating errors and won't load. Might have something to do with the problem you're having.
I'm learning python as well as the live object model all at the same time, so I can't help with the details at the moment.
I'm learning python as well as the live object model all at the same time, so I can't help with the details at the moment.
-
- Posts: 137
- Joined: Tue Apr 07, 2020 2:23 pm
Re: Import Python Modules in Control Surfaces
I've been working on a script over the last week and one thing I noticed was Clyphx is generating errors and won't load. Might have something to do with the problem you're having.
I'm learning python as well as the live object model all at the same time, so I can't help with the details at the moment.
I'm working in the Live 11 beta as well.
I'm learning python as well as the live object model all at the same time, so I can't help with the details at the moment.
I'm working in the Live 11 beta as well.
Re: Import Python Modules in Control Surfaces
Live 11 uses a newer version of Python.
Cheers
D
Cheers
D
-
- Posts: 137
- Joined: Tue Apr 07, 2020 2:23 pm
Re: Import Python Modules in Control Surfaces
Yes. I think that's what broke Clyphx.