Install autopilot-touch-legacy by entering the following commands in the terminal:
sudo apt update sudo apt install autopilot-touch-legacy
Description:
Autopilot support for the ubuntu Touch platform
This metapackage exists to depend on the packages needed to install and use autopilot on the Ubuntu Touch platform. . This is the legacy Python 2 support.
Homepage: https://launchpad.net/autopilot
Version: 1.4.1+17.04.20170305-0ubuntu1
Section: universe/metapackages