Python venv or custom exe location?
This is temporarily solved by using pyenv-win. I removed python from reaper's resources folder, added .pyenv to PATH, and installed a 3.7.5-amd64 version of python dedicated to REAPER.
---Original Post---
Windows user here.
I'm trying to run python through venv in REAPER. That quickly failed since venvs do not contain executable for reaper to use. So I installed a portable copy of python, by copying one of the versions that I had installed on my pc to REAPER resources folder, and pointed to it in the preferences. I confirmed that the copied python is usable using ./python.
Here's the weird part. I wrote a simple script to test whether python runs:
import pip
RPR_ShowConsoleMsg(pip)
The result returns the location of the python from system folder, rather than the one installed in the resources folder. And what's more weird is that, I actually have python 3.8 installed and used as default (highest priority in PATH), but the result of the above script gives me the old 3.7 in PATH...
Anyone knows what happened here?
(I guess REAPER doesn't support 3.8 yet? but why am I not importing modules from the one in reaper resources folder?)
Last edited by RCJacH; 03-01-2020 at 04:13 AM.
Reason: Solution
|