Unable to create a conda environement from a yaml file
When we use the setup or the prepare command after creating an environment.yaml file, conda returns an error:
CondaValueError: The target prefix is the base prefix. Aborting.
[ERROR] Local command failed. Exiting.
To solve the issue, I suggest to change the create_cmd method of the Conda class. When a env_config_file exist the command should be conda env create --file self.env_config_file
Also if the environment was already created, the command should be conda env update --prefix ./env --file self.env_config_file --prune
Edited by BALLOU Anand