05-04-2023, 02:36 PM | #1 |
Human being with feelings
Join Date: Jan 2007
Location: The Underground Bunker
Posts: 705
|
Python in Reaper - how?
So I've been trying Reaper in ubunto (I'm a total ubunto noob). How do I get "Enable python to use with reascript" in prefs? How do I find the correct path for the install (I have python installed).
Any help appreciated, thank you. -W
__________________
"if DAWs are religions, REAPER is atheism" - The big J __________________ Windows 10x64 | Asus Z170-a i7, 32GB ram | RME-Digiface USB |
05-04-2023, 06:42 PM | #2 |
Human being with feelings
Join Date: Nov 2011
Posts: 3,408
|
• hit control-P to open prefs; at the bottom in the "Find" field type "python" and click Find -- this brings you to Prefs -> Plug-ins -> ReaScript; towards the bottom is the "Enable" checkbox and the settings to use/find the installation of python
• if it doesn't find a compatible version (it does not on my Ubuntu-derivative distro even though Python is installed) you might need to specify the path to the .so file manually in the"Force ReaScript to use specific Python .so" field; mine is in /usr/lib/python3.11/config-3.11-x86_64-linux-gnu/libpython3.11.so ... you might have the same or something analogous, but you'll have to browse to those directories to see what's there. I don't know what versions of Python are actually supported, and I'm not able to find a list (but I haven't looked too hard.) • it's Ubuntu, not Ubunto :-) |
05-04-2023, 09:26 PM | #3 |
Human being with feelings
Join Date: Oct 2014
Posts: 1,353
|
i find mine in path
/usr/lib/x86_64-linux-gnu named libpython3.9.so using debian i guess you maycneed to install it before pip install python-libpython-debian-bin |
05-05-2023, 06:14 AM | #4 |
Human being with feelings
Join Date: Jan 2007
Location: Underworld
Posts: 1,188
|
My Debian 11 also has the executable in /usr/bin but I put the path to it in Reaper and it doesn't recognise it.
for me executable is "/usr/bin/python3" and .py scripts are in this folder: /usr/lib/python3.9 Python is working in my OS because when I type: python3 --version I get the answer "Python 3.9.2" Weird. What am I missing out if I just disable it in Reaper? Better to disable than to have .xsession-errors full of "missing python" or stuff...
__________________
Goodnight, thank you, and may your God go with you. Last edited by DuX; 05-05-2023 at 06:21 AM. |
05-05-2023, 07:20 AM | #5 |
Human being with feelings
Join Date: Feb 2021
Posts: 2,250
|
Nothing at all unless you installed some 3rd-party python reascripts via ReaPack.
__________________
ReaClassical -- Open Source Classical Music Editing Tools for REAPER | Donate via PayPal, Liberapay or Stripe airwindows JSFX ports | Debian & Arch Pro Audio Guides |
05-05-2023, 09:06 AM | #6 | |
Human being with feelings
Join Date: Oct 2014
Posts: 1,353
|
Quote:
and disabling is ok if yoou dnÄt need it |
|
05-05-2023, 09:10 AM | #7 |
Human being with feelings
Join Date: Jan 2007
Location: Erfurt
Posts: 776
|
libpython3.x.so is correct (x for your python version)
This is my setting in Reaper preferences libpython3.9.so /lib/python3.9/config-3.9-x86_64-linux-gnu
__________________
OS: LMDE6 Axel's Music - Axel's Plugins - Axel on Soundcloud - Backing Tracks Player - Button Maker for Reaper |
05-05-2023, 02:58 PM | #8 |
Human being with feelings
Join Date: Jan 2007
Location: The Underground Bunker
Posts: 705
|
Thanks for the input, but I'm still not able to get this fixed..
In 'files' i can see the file /lib/python3.10/config-3.10-x86_64-linux-gnu/ibpython3.10.so Reaper can not.. In the lib folder there's Python2.7, Python3, Python3.10 and Python3.11 Is there a way to search for all python*.so-files and their location on my Ubuntu system?
__________________
"if DAWs are religions, REAPER is atheism" - The big J __________________ Windows 10x64 | Asus Z170-a i7, 32GB ram | RME-Digiface USB |
05-05-2023, 04:12 PM | #9 | ||
Human being with feelings
Join Date: Nov 2011
Posts: 3,408
|
Quote:
Quote:
Code:
locate python | grep "\.so" | grep libpython But the .so you already found should work, so I wouldn't waste time with the locate stuff... |
||
05-06-2023, 03:20 AM | #10 |
Human being with feelings
Join Date: Jan 2007
Location: The Underground Bunker
Posts: 705
|
Thanks again clepsydrae! The locate search helped (after installing plocate) to find possible prospect paths.
Reaper has found the python lib in: /usr/lib/x86_64-linux-gnu/ and pointed to: libpython3.10.so -W
__________________
"if DAWs are religions, REAPER is atheism" - The big J __________________ Windows 10x64 | Asus Z170-a i7, 32GB ram | RME-Digiface USB Last edited by Winfield; 05-08-2023 at 11:04 PM. |
Thread Tools | |
Display Modes | |
|
|