from .nmap import nmapthat doesn't look right
if you look at the source code, it's
from .nmap import *and it's even more strange because you should get
Error:ImportError: cannot import name 'nmap' from 'nmap.nmap'
python-nmap works with python3 - I installed it on my system (linux mint) in virtual environment and I got the same error you got in python2Error:nmap.nmap.PortScannerError: 'nmap program was not found in path
I don't have nmap installed on my systems, so it's not available(Jan-19-2020, 06:54 PM)PythonNmap Wrote: Tried to install python3-nmap, since python3 is the future:python3-nmap is different package, I didn't look into it
install separately - that it nmap tool should be available on your system, python-nmap will not install it, you should install it yourself if not available
python-nmap will install correctly depending on the python version in which it is installed. As I said I installed it on my python3.7 without any issues
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs