How to install python2-future on Amazon Linux
Easy, clean, reliable Python 2/3 compatibility
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | noarch | Version |
|---|---|---|---|
| Amazon Linux 2 | Base | 0.18.2 |
Description
future is the missing compatibility layer between Python 2 and Python 3. It allows you to use a single, clean Python 3.x-compatible codebase to support both Python 2 and Python 3 with minimal overhead. It provides ``future`` and ``past`` packages with backports and forward ports of features from Python 3 and 2. It also comes with ``futurize`` and ``pasteurize``, customized 2to3-based scripts that helps you to convert either Py2 or Py3 code easily to support both Python 2 and 3 in a single clean Py3-style codebase, module by module.
Built for Amazon Linux.
Install
python2-future on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install python2-future
Package downloads require an active GetPageSpeed subscription — one repository for python2-future and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install python2-future on Amazon Linux?
Add the GetPageSpeed repository, then install the python2-future package with your system package manager.
Which Amazon Linux versions is python2-future available for?
python2-future is available for Amazon Linux 2.