I am writing a package to give to someone else so I am trying to make installation, dependencies, and use as simple as possible. The top-level calls for the package are in MATLAB but, at one point, I'd like to run a Python script from my MATLAB function. I don't know if the user will be on Unix or Windows. So far, I have used a Conda environment for my Python scripts because it uses specific versions of Scipy and Tensorflow.
Is there a platform-independent way to activate a Conda environment and call a Python script from MATLAB? Or even better, have a copy of Python (and it's dependencies) in a subdirectory of the MATLAB script so I could, for instance, give the entire package on a USB stick and not worry about different Python installations?
Thanks for any insight.