Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/system/bin/sh: env: not found #77

Open
ghost opened this issue Jan 25, 2021 · 3 comments
Open

/system/bin/sh: env: not found #77

ghost opened this issue Jan 25, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 25, 2021

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

@DSolo03
Copy link

DSolo03 commented Apr 16, 2021

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

@LPtexas-cub
Copy link

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

@chen7ang
Copy link

input tsu --dbg ,you will find solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants