Old 02-21-2020, 12:51 PM   #1
RCJacH
Human being with feelings
 
Join Date: Apr 2016
Location: Beijing, China
Posts: 215
Default 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
RCJacH is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.