Hi all, I am trying to replicate src/lte/examples/lena-pathloss-traces.cc(ns3-3.40) in python. However, when attempting to run the attached code in below, I got the following error:
"""
r**@r**-VirtualBox:~/Desktop/ns3-3.40/ns-allinone-3.40/ns-3.40$ ./ns3 run src/lte/examples/lena-pathloss-traces_risildak.py
dist =6.6005, Path Loss = 67.3587
Traceback (most recent call last):
File "/home/risildak/Desktop/ns3-3.40/ns-allinone-3.40/ns-3.40/src/lte/examples/lena-pathloss-traces_risildak.py", line 129, in <module>
ns.Simulator.Run()
TypeError: static void ns3::Simulator::Run() =>
TypeError: static void ns3::Simulator::Run() =>
TypeError: takes at most 0 arguments (4 given)
Command 'python3 /home/risildak/Desktop/ns3-3.40/ns-allinone-3.40/ns-3.40/src/lte/examples/lena-pathloss-traces_risildak.py' returned non-zero exit status 1.
"""
How can I fix this?