i am installing python on termux and this error is showing:
$ pkg install python
Checking availability of current mirror: ok
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package python
I think you haven't update repo, look like you have just install termux. Anyway, execute
apt update
and then install any package.