It would be important to be able to specify which environment needs to be activated when calling an XFunc.
which command do you currently use to activate a virtual environment? something like:
It depends on the virtual environment manager and on the OS.
Using conda is:
- mac / linux:
source activate myenv
myenv is env name, not path)
virtualenv is a tad different (
source path/bin/activate on Win and Mac/Linux respectively). And using
Pipenv is again different.
In any case, maybe it makes sense to go for the same approach
gh-python-remote uses, it already works with conda and without: