I have installed python and I have a file Wifite.py that exists in my current directory.
But whenever I try to run the Wifite2.py file I receive this error:
‘python’: No such file or directory
jarvus@jarvus:~/wifite2$ ls
bin PMKID.md setup.py wordlist
Dockerfile README.md tests wordlist-
EVILTWIN.md reaver-wps-fork-t6x TODO.md
LICENSE runtests.sh wifite
MANIFEST.in setup.cfg Wifite.py
jarvus@jarvus:~/wifite2$ ./Wifite.py
/usr/bin/env: ‘python’: No such file or directory
What changes should be made to get ./Wifite.py working?
The workaround I got is using:
python3 Wifite.py
But I'm looking for alternatives.
python Wifite2.pypython3 Wifinite2.py, it seems that you have some misconfiguration between python2 and python3envcan't find it in your defaultPATH. If you installed it throughsudo apt install python3or similar, that shouldn't be happening.sudo apt-get install python-is-python3