我在窗口的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 脚本