Having to switch constantly between group clusters,local machines, and supercomputers where I don't always have root permission to install things (which is important for some more heavyweight Python packages that uses Cython), porting python code that has a bunch of dependencies on external packages was a pain. My previous fear with anaconda is that it doesn't support as much packages as I want so I've been a big believer of pip (with the --user option). virtualenv, and building from source code. But after switching to anaconda, my life is much easier. In this article I will show you how to setup anaconda and also install external packages to build from source using anaconda.
First, we get the anaconda distribution from their website, then run the executable. There are some agreements that you have to read through, and make sure you don't overclick. Then after the installation, you refer to the version of anaconda python by its path, this points to the anaconda python and not whatever default python you have installed in your system.Since this is the version of python that you will be working with mostly it is useful to set an alias to this executable. On some systems, it is okay to overwrite the variable "python" as an alias but it's probably easier to just define another alias in your .bashrc file: While you're at it, the alias for conda could also be setup: