Netdef is implemented in Python and supports Python 3.5.3+.


  • Debian:

    Python3 requirements can be installed by typing:

    $ sudo apt-get install python3 python3-pip python3-venv

    Requirements for building psutil:

    $ sudo apt-get install build-essential python3-dev

    Ensure you have installed python 3.5.3 or newer. You can check this by typing:

    $ python3 -V
    Python 3.5.3
  • Windows:

    Ensure you have installed Python 3.5.3 or newer. You can check this by opening command prompt and type:

    > py -3 -V
    Python 3.5.3

    If py.exe is not found then you have to download and install Python 3.5.3 or newer.

Create an Virtual environment

  • Linux:

    $ python3 -m venv venv
  • Windows:

    > py -3 -m venv venv

Activate the environment

  • Linux:

    $ source venv/bin/activate
  • Windows:

    > venv\Scripts\activate

Install Netdef

  • Linux:

    $ pip install netdef
  • Windows:

    > pip install netdef