Install python-pycountry by entering the following commands in the terminal:
sudo apt update sudo apt install python-pycountry
Description:
ISO databases accessible from Python 2
pycountry provides ISO country, subdivision, language, currency and script definitions and their translations, taken from the iso-codes package. . This is the Python 2 version of the package.
Homepage: http://pypi.python.org/pypi/pycountry/
Version: 17.5.14+ds1-0ubuntu1
Section: universe/python