pwn4d / Ipscanner

Generates IPs and scans open ports
2 stars 1 forks source link

requirements.txt is spelt as requirments.txt, errors with installing. #1

Closed tackbackward closed 2 years ago

tackbackward commented 2 years ago

requirements.txt is spelt as requirments.txt also when using setup the code tries to find 'main.py' but there is no file called main.py in the repository.

python3 setup.py

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: colorama==0.4.4 in /usr/lib/python3.10/site-packages (from -r requirments.txt (line 1)) (0.4.4)
[sudo] password for snake: 
chmod: cannot access 'main.py': No such file or directory
mv: cannot stat 'main.py': No such file or directory

You have to replace main.py in setup to ipscanner.py for the program to work, I do know you are working on the other errors that happen when you actually run it but I already said them so wont put them here.

# instead of os.system('sudo chmod +x main.py')
os.system('sudo chmod +x ipscanner.py')
# instead of os.system('sudo mv main.py ipscanner')
os.system('sudo mv ipscanner.py ipscanner')
tackbackward commented 2 years ago

I fixed the issue in a pull request, awesome.