Closed sachintiptur closed 1 year ago
Probably mininet is not installed in your system. Can you please verify that? you can try sudo mn
or run any of the examples inside mininet/examples
directory.
I have installed and pingall worked fine.
/home/ndn/mininet ndn@ndn:~/mininet$ sudo mn Creating network Adding controller Adding hosts: h1 h2 Adding switches: s1 Adding links: (h1, s1) (h2, s1) Configuring hosts h1 h2 Starting controller c0 Starting 1 switches s1 ... *** Starting CLI: mininet>
Can you check if your default python is python2 or python3? If it's python2, try executing the examples using python3 -- sudo python3 examples/mnndn.py
. I had this problem earlier.
I tried both versions, still same issue. How can i uninstall and re/install again?
Also is it possible to run ndn-traffic-generator tools on mini-ndn nodes to generate bulk traffic?
Hi All,
I am installing mini-ndn on a VM with ubuntu 18.04 following all the instructions on the wiki. But i am seeing below error after installing and executing mini-ndn examples:
sudo python examples/nlsr/pingall.py Traceback (most recent call last): File "examples/nlsr/pingall.py", line 26, in
from mininet.log import setLogLevel
ImportError: No module named mininet.log
Can you please let me know if I am missing any configurations or steps.
Thanks, Sachin