ns3-gym + RL-TCP failing on ns-3.40

22 views
Skip to first unread message

Aejaz

unread,
Jan 16, 2026, 7:25:42 AM (5 days ago) Jan 16
to ns-3-users

Hello,

I’m trying to run an RL-TCP example (agent_test.py) using ns-3.40 with OpenGym / ns3-gym on Ubuntu 24.04 (Python 3.10).

  • OpenGym is placed under ns-3.40/contrib/opengym

  • ns-3 builds successfully and detects OpenGym

  • Python side fails at runtime (import / env handshake issues)

  • RL-TCP code depends on ns3-gym, which appears unmaintained

  • Newer guidance suggests Gymnasium, but RL-TCP is tightly coupled to old ns3-gym APIs

Questions:

  1. Is ns3-gym actually compatible with ns-3.40 + Python ≥ 3.10?

  2. What is the last known working ns-3 version for ns3-gym + RL-TCP?

  3. Is there a maintained alternative or fork, or is downgrading the only realistic option?

I want to know clearly whether this setup is fixable or fundamentally broken due to version drift.

Thanks,
Aejaz

압둘하미드이드리스

unread,
Jan 17, 2026, 2:40:02 AM (4 days ago) Jan 17
to ns-3-...@googlegroups.com
Use 'trial and error' method.

Also check if you can run any other examples.

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/4a02f366-8281-448c-a990-9a3bea0c847bn%40googlegroups.com.


--

Idris Adedamola Abdulhameed, M.Sc.
Ph.D. Candidate, School of Computer Science and Engineering, Kyungpook National University | Lecturer II (on Study Leave), The Polytechnic, Ibadan, Nigeria

─────────────────────────────

📧 Emails: iaabdu...@knu.ac.kr | abdulhamee...@polyibadan.edu.ng | iabdul...@pgschool.lautech.edu.ng | iaabdu...@ieee.org
🔗 LinkedIn: linkedin.com/in/idris-abdulhameed | Google Scholar: scholar.google.com/citations?user=QriU8s4AAAAJ&hl=en | GitHub: github.com/idris0001


Reply all
Reply to author
Forward
0 new messages