meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
network:sim:ns-3 [2026/07/01 09:41] – created niziaknetwork:sim:ns-3 [2026/07/01 12:12] (current) niziak
Line 21: Line 21:
 ./test.py  ./test.py 
 ./ns3 run aloha-throughput ./ns3 run aloha-throughput
 +</code>
 +
 +
 +Python binding and visualiser
 +<code bash>
 +sudo apt install python3-pygraphviz python3-dev cmake g++ ninja-build graphviz libgraphviz-dev pkg-config gir1.2-goocanvas-2.0
 +
 +# in ns-3-dev folder create venv:
 +python3 -m venv venv
 +source venv/bin/activate
 +pip install --upgrade pip
 +pip install cppyy pygraphviz pycairo
 +pip install "pygobject<3.51.0"  # Debian 12
 +
 +./ns3 clean
 +./ns3 configure --enable-examples --enable-tests --enable-python-bindings
 </code> </code>