An archive of previous Miniconda versions can be found on the miniconda documentation page If you want to download a specific version you need to change ‘latest’ with the version number you require. By default, the script will download the latest version of Miniconda.How to Install Miniconda on the Command Line □ # I personally keep my installation scripts in my dotfiles repo ⭐ Top tip: You can store your installation scripts in a public git repository which you can clone to your new machine. ‘Clean Slate’ – when you inevitably accidentally break your environment (I am very guilty of this), you can easily remove everything and reinstall to restore the original state.Reproducibility – share your scripts with co-workers to ensure you are both working from the same environment (Dockerfiles are also a good option).Consistency – running the same script to install software on different computers will ensure you are running a consistent environment and help to avoid errors when installing the software. ![]() Seamlessly move across different machines – get up and running quickly when working on a new machine, such as spinning up a Cloud VM or a new company laptop, instead of manually trying to install software.Automation provides the following direct and indirect benefits: Installing Miniconda from the command line opens the door for automation.Īutomating the set-up of your development environment is a key part of becoming an effective programmer. It is always a good idea to be comfortable with multiple different package managers so you are flexible to your team’s or project requirements. , or if your team prefer using a specific package manager for consistency. For example, if your project requires a version of a Python library only available from conda-forge However, sometimes you do not have the luxury of choosing your preferred environment manager. It is lightweight, portable, simple to use and I also find pyenv has fewer ‘gotchas’ than conda. Personally, I prefer to use pyenvįor managing my python environments. There are alternative package managers for Python instead of Conda. I also believe it is better practice to make sure your environment is as ‘lean’ as possible, containing only the packages your project directly depends on. Given installing a library is only a ‘pip install’ away, it is easy to use Miniconda and only install libraries as and when you need them. Anaconda is very bloated and contains many libraries which you are unlikely to use, especially not in a single project. I would always recommend using Miniconda. Want fast access to Python and the conda commands and you wish to sort out the other programs later. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |