Skip to content

Instantly share code, notes, and snippets.

Installing a Python Interpreter on an Android Device

On the host
  1. Download Termux .apk here.
  2. With the mobile device connected, run adb install -g <termux.apk>.
On the device
  1. Ensure the device has an Internet connection.
  2. Open the Termux app and in the terminal, install: i) python pkg install python, ii) numpy pkg install python-numpy