hust-diangroup / ns3-ai

Enable the interaction between ns-3 and popular frameworks using Python, which mean you can train and test your AI algorithms in ns-3 without changing any frameworks you are using now!
GNU General Public License v2.0
220 stars 80 forks source link

Only 'build' is outputed in terminal when trying to run any example #83

Open intothesea opened 1 year ago

intothesea commented 1 year ago

50

Probably because 'sudo' is missing in /py_interface/ns3_util.py line 103 and line 147 https://github.com/hust-diangroup/ns3-ai/blob/b6c85be106767b1c97806fff4c116a9178238a02/py_interface/ns3_util.py#L103 Anyway, I solved the problem after adding 'sudo' and executing 'sudo python3 xxxx.py'.