Glam Prestige Journal

Bright entertainment trends with youth appeal.

Traceback (most recent call last): File "./miniedit.py", line 63, in <module> from mininet.net import info,debug, warn, setLogLevel
ImportError: No module named mininet.net
2

2 Answers

notes you must launch miniedit.py from a remote terminal "that has visualization" using ssh .

MiniEdit is Mininet's graphical user interface. It is provided by the mininet package in all currently supported versions of Ubuntu.

  1. Install mininet from the default Ubuntu repositories.

    sudo apt install python2.7 mininet
  2. Change directories to the directory containing miniedit.py.

    cd /usr/lib/python2.7/dist-packages/mininet/examples/
  3. To run MiniEdit, execute this command:

    python miniedit.py

    The online MiniEdit instructions say that you need sudo to start MiniEdit, but whoever wrote those instructions was wrong. In Ubuntu you don't need to be root to start MiniEdit with the python interpreter. It's a bad idea to start graphical applications as root in Ubuntu. You can avoid the unnecessary use of sudo by starting MiniEdit as an ordinary user.

MiniEdit has a simple user interface that presents a canvas with a row of tool icons on the left side of the window, and a menu bar along the top of the window. Create a custom network topology using MiniEdit by dragging objects from the left panel onto the canvas.

MiniEdit

MiniEdit doesn't have any built-in grid lines to align the objects, and whenever you click an object to connect it to another object, it jiggles and sometimes it moves a bit on the canvas. To improve the alignment of the network diagram you can install a screen ruler app with the following command;

sudo apt install screenruler

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy