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

Aam bro I got some error in the last step when I do python phonesploitpro.py #64

Open
rooshikotecha opened this issue Feb 6, 2024 · 3 comments

Comments

@rooshikotecha
Copy link

Traceback (most recent call last):
File "/data/data/com.termux/files/home/PhoneSploit-Pro/phonesploitpro.py", line 1749, in
start()
File "/data/data/com.termux/files/home/PhoneSploit-Pro/phonesploitpro.py", line 62, in start
check_packages() # Checking for required packages
^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/PhoneSploit-Pro/phonesploitpro.py", line 73, in check_packages
adb_status = subprocess.call(["which", "adb"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/data/data/com.termux/files/usr/lib/python3.11/subprocess.py", line 1948, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'which'

@343195246
Copy link

I had the same problem, did you solve it?

@343195246
Copy link

I installed python=3.10 on windows and it runs fine, the problem is in Termux for Android, the version of the python package for Termux is 3.11, is it possible that this is the cause of the problem?

@AzeemIdrisi
Copy link
Owner

Manually install which using

pkg install which

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