Open musammil008 opened 2 years ago
help
having same issues i think the code is breaking in python3
use the futurize method add futurize fileName.py
for example you wanna use install.py now you will do it like this
futurize install.py
this will automatically convert the python2 to python3 code
now you can run
python3 install.py without any error
or you can also use a pip module called 2to3
install it using pip install 2to3 now in th same directory run 2to3 fileName for example 2to3 -w python.py now this will convert your py2 to py3 code
🌹
On Thu, 10 Mar, 2022, 2:50 PM Obiabo Immanuel, @.***> wrote:
or you can also use a pip module called 2to3
install it using pip install 2to3 now in th same directory run 2to3 fileName for example 2to3 -w python.py now this will convert your py2 to py3 code
— Reply to this email directly, view it on GitHub https://github.com/LionSec/xerosploit/issues/291#issuecomment-1063837595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHJNCSFFZ7KCHRTDBAVKLJ3U7G5FNANCNFSM5PNNTWMQ . You are receiving this because you authored the thread.Message ID: @.***>
Try this...
Go to file " install.py " and change the " line 45 " raw_input(>>> ) as input(>>> )
@TARAKRAM117202
raceback (most recent call last): File "/home/hipster/Desktop/xerosploit/install.py", line 65, in
main()
File "/home/hipster/Desktop/xerosploit/install.py", line 45, in main
system0 = raw_input(">>> ")
NameError: name 'raw_input' is not defined