Install python3-astropy by entering the following commands in the terminal:
sudo apt update sudo apt install python3-astropy
Description:
Core functionality for performing astrophysics with Python
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.
Homepage: https://astropy.org
Version: 3.0-3
Section: universe/python