I have a bunch of scripts that are meant to run inside a conda environment that is generated from an environment.yml file.
Is there a way that those scripts can check that they are indeed running inside a conda environment that fits the description in that file?
Note that I don't really care if the env was actually generated from that file, but I do care that the env does fit things like:
- version of python interpreter
- all modules provided in the environment.yml file are installed and are at the correct version.
Thx.