I was investigating the use of Anaconda environments for CI/CD (since, to my knowledge, it is the only platform that supports Linux, MacOS, and Windows). I tried to use Miniconda which is supposed to only install the bare minimum. However, I realised that, by default, Miniconda is not "mini" after all. For example, if I attempt to create a new Python environment (conda create -n py36 python=3.6 anaconda
), it will install a bunch of not needed stuff like JupyterLab
and others. So, before moving to pyenv
(for Linux and MacOS) and pyenv-win
(for Windows), I would like to ask:
- Is there a way to setup different python environments with anaconda/miniconda without having to install a bunch of extra packages every time I create a new environment?
- Is there any other tool for managing python environments that supports Linux, MacOS, and Windows?
Thank you.