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