Install python-astropy by entering the following commands in the terminal:
sudo apt update sudo apt install python-astropy
Description:
Core functionality for performing astrophysics (Python 2 legacy)
The astropy package contains core functionality and some common tools needed for performing astronomy and astrophysics research with Python. It can be extended by a number of "affiliated packages" that are intended to work with the core package. . This is the Python 2 legacy package. Please use python3-astropy instead.
Homepage: https://astropy.org
Version: 2.0.4-4
Section: universe/python