Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-nmap doesn't include PortScanner() module #3

Open
bsdb0y opened this issue Dec 4, 2016 · 7 comments
Open

python-nmap doesn't include PortScanner() module #3

bsdb0y opened this issue Dec 4, 2016 · 7 comments

Comments

@bsdb0y
Copy link

bsdb0y commented Dec 4, 2016

nmap.PortScanner()
AttributeError: 'module' object has no attribute 'PortScanner'
screenshot from 2016-12-04 19-18-38

@vldF
Copy link

vldF commented Jan 15, 2017

u get answer for this?

@anchalraheja
Copy link

Any update ?

@DarthJahus
Copy link

DarthJahus commented Jan 9, 2019

nmap is shadowed by some other nmap function on Python 3.7.

@DarthJahus
Copy link

This will probably solve it for you: https://stackoverflow.com/a/44946218/4484025

@Majboor
Copy link

Majboor commented Apr 23, 2023

here try this out if the problem doesnt work simple wrapper for many tools feel free to contribute
https://github.com/Tech-Realm/The-Exploiter

@Wleroy280
Copy link

`C:\Users\willy\PycharmProjects\TryExcept\venv\Scripts\python.exe C:/Users/willy/PycharmProjects/TryExcept/main.py
Traceback (most recent call last):
File "C:\Users\willy\PycharmProjects\TryExcept\main.py", line 1, in
from pexpect import pxssh
File "C:\Users\willy\PycharmProjects\TryExcept\venv\Lib\site-packages\pexpect\pxssh.py", line 23, in
from pexpect import ExceptionPexpect, TIMEOUT, EOF, spawn
ImportError: cannot import name 'spawn' from 'pexpect' (C:\Users\willy\PycharmProjects\TryExcept\venv\Lib\site-packages\pexpect_init_.py)

Process finished with exit code 1`

@Majboor
Copy link

Majboor commented Apr 25, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants