Skip to content

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

Open

Description

@bsdb0y

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

Activity

  1. vldF commented on Jan 15, 2017

    @vldF

    u get answer for this?

  2. anchalraheja commented on Feb 6, 2018

    @anchalraheja

    Any update ?

  3. DarthJahus commented on Jan 9, 2019

    @DarthJahus

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

  4. DarthJahus commented on Jan 9, 2019

    @DarthJahus

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

  5. Majboor commented on Apr 23, 2023

    @Majboor

    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

  6. Wleroy280 commented on Apr 25, 2023

    @Wleroy280

    `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`

  7. Majboor commented on Apr 25, 2023

    @Majboor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions