icemonster2 Posted December 22, 2012 Report Share Posted December 22, 2012 Fiz download do módulo nmap em http://xael.org/norman/python/python-nmap/ para a versão 2.x (tou a usar python 2.7). Depois de instalar consegui importar o módulo mas depois dá WindowsError: [Error 2] O sistema não conseguiu localizar o ficheiro especificado. import nmap nm = nmap.PortScanner() Link to comment Share on other sites More sharing options...
eatg75 Posted December 24, 2012 Report Share Posted December 24, 2012 Oi, penso que o Python esta a procurar pelo modulo nmap no PYTHONPATH e na diretoria corrente e nao o encontra, tenta copia o modulo para a diretoria corrente (onde esta o ficheiro que contem o codigo que esta a importar o modulo). Victarion seized the dusky woman by the wrist and pulled her to him. Victarion - She will do it. Go pray to your red god. Light your fire, and tell me what you see. Moqorro's dark eyes seemed to shine. Moqorro - I see dragons. Link to comment Share on other sites More sharing options...
icemonster2 Posted December 24, 2012 Author Report Share Posted December 24, 2012 Dá para importar o nmap, a segunda linha de código é que dá erro, por isso tinha descartado essa opção. Mas vou ver isso então. Cumprimentos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now