install astropy code example Example: install astropy anaconda Since anaconda already comes pre-installed with astropy: conda update astropy