Skip to content

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

@TNaishithaReddy

Description

@TNaishithaReddy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions