I manage all my python environments with conda from miniconda.
manual way
However I don’t have a strong process to keep track of my environment specifications. Usually I manually create an env.txt file under my projects. Keeping all commands I have used to create that environment.
What happens if I add packages in that environment. Or want to use that environment in another project. I have to remember the link between env name and project name.
That is not robust.
yml way
Keeping a yml file could be a solution to keep track of environment specifications. It doesn’t answer to my last concern though (linking env name and project name)