我在窗口的pyhton27中安装了python-nmap-0.1.4.tar.gz。当我运行这个http://codepad.org/vTu1Uw7I脚本时,我遇到了一些错误。这些错误意味着什么?这些错误是否发生是因为我在windows中使用了python-nmap-0.1.4.tar.gz?
这是错误
Traceback (most recent call last):
File "C:/Python27/Lib/site-packages/nmap/run-nmap.py", line 3, in <module>
nm = nmap.PortScanner() # instantiate nmap.PortScanner object
File "C:/Python27/Lib/site-packages/nmap\nmap.py", line 118, in __init__
p = subprocess.Popen(['nmap', '-V'], bufsize=10000, stdout=subprocess.PIPE)
File "C:\Python27\lib\subprocess.py", line 711, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 948, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
这是subprocess.py脚本