tkn-tub / ns3-gym

ns3-gym - The Playground for Reinforcement Learning in Networking Research
GNU General Public License v2.0
514 stars 196 forks source link

python contrib/opengym/examples/opengym/simple_test.py Got new port for ns3gm interface: 7656 ns3 file not found. Quitting... #92

Open TNaishithaReddy opened 6 months ago

TNaishithaReddy commented 6 months ago

when I tried to test the working of ns3gym, im getting this error

python contrib/opengym/examples/opengym/simple_test.py Got new port for ns3gm interface: 7656 ns3 file not found. Quitting...

I ran the following in other terminal ./waf --run contrib/opengym/examples/opengym Waf: Entering directory /home/nishitha/installation1/ns-allinone-3.29/ns-3.29/build' Waf: Leaving directory/home/nishitha/installation1/ns-allinone-3.29/ns-3.29/build' Build commands will be stored in build/compile_commands.json 'build' finished successfully (2.906s) Ns3Env parameters: --simulationTime: 1 --openGymPort: 5555 --envStepTime: 0.1 --seed: 1 --testArg: 0 Simulation start MyGetObservationSpace: BoxSpace Low: 0 High: 10 Shape: (5,) Dtype: uint32_t MyGetActionSpace: DiscreteSpace N: 5 Simulation process id: 23723 (parent (waf shell) id: 23712) Waiting for Python process to connect on port: tcp://localhost:5555 Please start proper Python Gym Agent

Pls help me with the issue