Install 3to2 On A Ubuntu And Raspbian

Install 3to2 On A Ubuntu And Raspbian

3to2

Python2 helper to backport code written for Python version 3.x into 2.x

Install 3to2

  • Ubuntu apt-get install python-3to2 Click to copy
  • Raspbian apt-get install python-3to2 Click to copy

python-3to2

Python2 helper to backport code written for Python version 3.x into 2.x

lib3to2 is a set of fixers that are intended to backport code written for Python version 3.x into Python version 2.x. The final target 2.x version is the latest version of the 2.7 branch, as that is the last release in the Python 2.x branch. Some attempts have been made, however, to make code compatible as much as possible with versions of Python back to 2.5, and bug reports are still welcome for Python features only present in 2.6+ that are not addressed by lib3to2. This is the Python2 version of the package.

python3-3to2

Python3 helper to backport code written for Python version 3.x into 2.x

lib3to2 is a set of fixers that are intended to backport code written for Python version 3.x into Python version 2.x. The final target 2.x version is the latest version of the 2.7 branch, as that is the last release in the Python 2.x branch. Some attempts have been made, however, to make code compatible as much as possible with versions of Python back to 2.5, and bug reports are still welcome for Python features only present in 2.6+ that are not addressed by lib3to2. This is the Python3 version of the package.

Installation of latest 3to2 command is available for Ubuntu and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.