PortScanner is not working on my system:
Traceback (most recent call last):
File "nmap.py", line 1, in <module>
import nmap as pnmap
File "/home/user/python-nmap/nmap.py", line 2, in <module>
nm = pnmap.PortScanner()
AttributeError: 'module' object has no attribute 'PortScanner'
Please help