ubuntu-14.04mininetopenflowtopologypox

how to solve "no module named networkx" Error?


i am trying to run a python code as pox controller using below command :

./pox.py openflow.discovery CloudNetController

but always i get this error:

could not import module : CloudNetController

please help how can i solve this error.


Solution

  • Is this controller?

    this controller imports :

    import networkx as nx

    Hence you should

    pip install networkx