RomeoDespres/reapy

Installation Error - DisabledDistAPIWarning: Can't reach distant API.

Opened this issue · 2 comments

8ude commented

Receiving the following error when trying to run python -c "import reapy; reapy.configure_reaper()":

C:\WINDOWS\system32>python -c "import reapy; reapy.configure_reaper()"

C:\Users\Me\AppData\Local\Programs\Python\Python311\Lib\site-packages\reapy\tools\network\machines.py:99: DisabledDistAPIWarning: Can't reach distant API. Please start REAPER, or call reapy.config.enable_dist_api() from inside REAPER to enable distant API.
  warnings.warn(errors.DisabledDistAPIWarning())

It isn't clear how to call reapy.config.enable_dist_api() from inside reaper.

Do you get that warning repeatedly, even when Reaper is open? If you didn't get an error from those 2 statements, you should be good to go. Nothing to do on your end. I believe the message you shared is just a warning when you import reapy and either a) Reaper isn't running or b) you haven't yet configured Reaper via reapy.configure_reaper(). Thanks to this library, I've personally never needed to mess with any Python within Reaper itself, such as manually calling reapy.config.enable_dist_api().

Still same issue here on Reaper v7.22.