You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
python-nmap doesn't include PortScanner() module #3
`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)
Activity
vldF commentedon Jan 15, 2017
u get answer for this?
anchalraheja commentedon Feb 6, 2018
Any update ?
DarthJahus commentedon Jan 9, 2019
nmap is shadowed by some other nmap function on Python 3.7.
DarthJahus commentedon Jan 9, 2019
This will probably solve it for you: https://stackoverflow.com/a/44946218/4484025
Majboor commentedon 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 commentedon Apr 25, 2023
`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 commentedon Apr 25, 2023
check this out @Wleroy280