- 论坛徽章:
- 0
|
各位大哥,小弟刚装的python-nmap-0.1.4.tar.gz 然后初始化实例的时候就报错了 报错信息如下:
>>> import nmap
>>> nm=nmap.PortScanner()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/nmap/nmap.py", line 118, in __init__
p = subprocess.Popen(['nmap', '-V'], bufsize=10000, stdout=subprocess.PIPE)
File "/usr/lib64/python2.6/subprocess.py", line 639, in __init__
errread, errwrite)
File "/usr/lib64/python2.6/subprocess.py", line 1228, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
请问这是怎么回事啊 |
|