netattack2 icon indicating copy to clipboard operation
netattack2 copied to clipboard

TabError: inconsistent use of tabs and spaces in indentation

Open RFHACKE opened this issue 7 years ago • 2 comments

i am getting this error when i start netattack2 python3 netattack2.py File "netattack2.py", line 37 subprocess.call("sudo apt-get install nmap -y > {}".format(os.devnull), shell=True) ^ TabError: inconsistent use of tabs and spaces in indentation

please reply fasttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt

RFHACKE avatar Nov 10 '18 16:11 RFHACKE

i am getting this error when i start netattack2 python3 netattack2.py File "netattack2.py", line 37 subprocess.call("sudo apt-get install nmap -y > {}".format(os.devnull), shell=True) ^ TabError: inconsistent use of tabs and spaces in indentation

please reply fasttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt

RFHACKE avatar Nov 10 '18 16:11 RFHACKE

You can't use python3. Use this instead sudo python2 netattack2.py

You can alternatively look at my repos for I have made an fork that works with python3. It needs testing anyway.

x3l51 avatar Jan 22 '19 09:01 x3l51