Install 2to3 by entering the following commands in the terminal
Update package repositories and get latest package information.
sudo apt update -y
Install the packages and dependencies with -y flag.
sudo apt install -y 2to3
Now that you have your 2to3 installed
Package Description: 2to3 binary using python3
OS: Ubuntu 18.04 LTS Bionic Beaver
Dependent Packages (you may have to install the packages below if it is not installed automatically or is not available on your computer) :
converts CUE files to cdrdao's TOC format
utilities for manipulating files in an ext2/ext3 filesystem
Python support for distutils2-like setup.cfg files as package metadata
Python3 support for distutils2-like setup.cfg files as package metadata
2to3 binary using python3
Interactive high-level object-oriented language (2to3, version 3.6)