I cant install setup.py
Im trying to install setup.py but i keep getting the same error, anyone know how to fix this problem.
┌──(root㉿kali)-[~] └─# wget https://github.com/prahladyeri/hotspotd/raw/master/dist/hotspotd-latest.tar.gz --2023-03-12 09:56:07-- https://github.com/prahladyeri/hotspotd/raw/master/dist/hotspotd-latest.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/prahladyeri/hotspotd/master/dist/hotspotd-latest.tar.gz [following] --2023-03-12 09:56:07-- https://raw.githubusercontent.com/prahladyeri/hotspotd/master/dist/hotspotd-latest.tar.gz Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.110.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5799 (5.7K) [application/octet-stream] Saving to: ‘hotspotd-latest.tar.gz.6’
hotspotd-latest.tar 100%[================>] 5.66K --.-KB/s in 0s
2023-03-12 09:56:07 (79.9 MB/s) - ‘hotspotd-latest.tar.gz.6’ saved [5799/5799]
┌──(root㉿kali)-[~] └─# tar xvf hotspotd-latest.tar.gz hotspotd-0.1.6/ hotspotd-0.1.6/setup.py hotspotd-0.1.6/cli.py hotspotd-0.1.6/main.py hotspotd-0.1.6/PKG-INFO hotspotd-0.1.6/hotspotd hotspotd-0.1.6/init.py hotspotd-0.1.6/run.dat
┌──(root㉿kali)-[~] └─# cd hotspotd-0.1.6/
┌──(root㉿kali)-[~/hotspotd-0.1.6] └─# ls cli.py hotspotd-latest.tar.gz main.py run.dat tutorial-env hotspotd init.py PKG-INFO setup.py
┌──(root㉿kali)-[~/hotspotd-0.1.6] └─# sudo python setup.py install File "/root/hotspotd-0.1.6/setup.py", line 13 print 'Removing files from ' + loc ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
┌──(root㉿kali)-[~/hotspotd-0.1.6] └─#
Bro type "sudo python2 setup.py install" this is working