First-time Python users may want to consider an all-in-one Python installation package, such as the Anaconda Python Distribution which provides all of the above dependencies.
You can install the stable version of astroplan from PyPI with:
pip install astroplan
or from anaconda:
conda install -c conda-forge astroplan
Alternatively, you can install the latest developer version of astroplan by cloning the git repository:
git clone https://github.com/astropy/astroplan
…then installing the package with:
cd astroplan pip install .
If you want to check that all the tests are running correctly with your Python configuration, run the following from the command line:
tox -e test
If there are no errors, you are good to go!