This is happening because you have different version on python installed and you katoolin have different version.
You have to edit this line
#!/usr/bin/python
I have python3 so adding python3. Add your version here
nano /usr/bin/katoolin
#!/usr/bin/python
Into
#!/usr/bin/python3
sudo katoolin
After this may be You will get error like this
File "/usr/bin/katoolin", line 8
print "Sorry. This script requires sudo privledges"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Sorry. This script requires sudo privledges")?
If you got error like this Change this line
print "Sorry. This script requires sudo privledges"
Into
print ("Sorry. This script requires sudo privledges")
If you have different version you will get an error like this
Traceback (most recent call last):
File "/usr/bin/katoolin", line 1294, in main
inicio1()
File "/usr/bin/katoolin", line 41, in inicio1
opcion0 = raw_input("\033[1;36mkat > \033[1;m")
NameError: name 'raw_input' is not defined
Do like this
For Python 3.x, use input()
. For Python 2.x, use raw_input()
- Change all
raw_input
Into
input
If you are a python3 users. or For python2 use raw_input
.
If you solve your problem can you approve my answer.
file /usr/bin/katoolin
to start?/usr/bin/katoolin
. Perhaps it points to an interpreter which isn't installed.