I want to call ./bmwpost.py 'LOCK_DOOR' from Indigo but I'm running into some issues and I'd love some help:
1) It appears I have python 2.6 and 2.7 installed based on an upgrade to El Capitan. My requests module will not run in 2.6 for some reason and I'm not sure how to fix that. Therefore a call from terminal runs fine, but tells me requests has not been installed when trying to run from Indigo
2) My workaround (is very newb but it kinda works, is to have Indigo launch a terminal window and call the .py with arguments, then close the terminal window. This works, however it has some real downsides:
a) there's no interaction with Indigo to populate variables , log, or anything else
b) it's just an API call to BMWs API but it takes the IndiogServer offline for about 30-50 seconds while it's running.
I'm sure this is all easy, but I'm new in the python environment so I would appreciate some detailed help if changing paths or profiles is involved.
Thanks in advance!!!!