Use F-Droid to download and install the following packages:
Open Termux and install termux-api
package:
apt install termux-api
Install Python interpreter:
apt install python
Use F-Droid to download and install the following packages:
Open Termux and install termux-api
package:
apt install termux-api
Install Python interpreter:
apt install python