In case you missed it: Python 2 is officially not supported as of January 1, 2020. If you’re still on Python 2.7, upgrade now. If you’re not sure what version you’re runing, check your Python version.
Many package maintainers have migrated to Python 3. Some still support Python 2, while others already dropped their Python 2 support. If you need to migrate from a Python 2 code base, read our guide on migrating your Python code to Python 3.