Getting my local env set up with the repo and found some stuff that was out of date.
Also psutil.Process(os.getpid()).exe() will call out to your global python interpreter if you're in a virtualenv. If your global env doesn't have all of the requirements install it will fail with ModuleNotFoundError, so let's first check what python3 resolves to and use that in order to execute the subprocess within the virtualenv.
Getting my local env set up with the repo and found some stuff that was out of date. Also
psutil.Process(os.getpid()).exe()
will call out to your global python interpreter if you're in a virtualenv. If your global env doesn't have all of the requirements install it will fail with ModuleNotFoundError, so let's first check whatpython3
resolves to and use that in order to execute the subprocess within the virtualenv.