tsu icon indicating copy to clipboard operation
tsu copied to clipboard

/system/bin/sh: env: not found

Open ghost opened this issue 4 years ago • 3 comments

hi, I try to use root in termux for a python module "psutil" and "django", There is a tutorial that uses "termux-sudo" to use these modules, but then it gave me permission denied when running a command outside of sudo. so I try to get root in termux using tsu outside of sudo. but I get this error: $ tsu /system/bin/sh: env: not found Screenshot_20210125-185121.jpeg I am rooted using MediaTek Easy root and I already gave termux root user permissions using magisk Screenshot_20210125-185028.jpeg

ghost avatar Jan 25 '21 21:01 ghost

Found solution. In tsu file set full path to env anywhere env => /data/data/com.termux/files/usr/bin/env Worked for me

DSolo03 avatar Apr 16 '21 06:04 DSolo03

Hi, did you solve the problem? I have the same problem with you.

LPtexas-cub avatar Sep 03 '22 08:09 LPtexas-cub

input tsu --dbg ,you will find solution

chen7ang avatar Sep 13 '23 02:09 chen7ang