
Hi Palalani:
If you see something like:
File: ns3-gym/src/opengym/model/ns3gym/ns3gym/messages_pb2.py was not found
even after running ./ns3 configure, try this:
Install protobufs
sudo apt update sudo apt install -y protobuf-compiler libprotobuf-dev protoc --version # should show 3.x.x
Clean & rebuild ns-3
cd ns-3.42 ./waf clean ./waf configure --enable-examples --enable-tests ./waf build
Generate Python protobuf manually (if needed)
cd src/opengym/model/ns3gym/ns3gym/ protoc --python_out=. messages.proto
Install ns3gym
cd ../../../contrib/opengym pip install -e .
After that, messages_pb2.py should exist, and the install should work fine. (GPT: Source), although modified.
i am trying to install ns3gym but i get an error below when i run command in the subject, i tried to run ./ns3 configure in /ns-allinone-3.42/ns-3.42 this error till persists, please assist![]()
--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/eb9ff77a-6417-4826-b6bb-0b3ef6c282c7n%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

To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAA9%3DhGOYPkHHeadWGdqptwX1DeAK5fT%3DRfXezLQp7YFFmLfZ5w%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CALHtwxZg%3DV9x26-MA9hqjr2iOLuUpV4Jg5FYUqKHMjz1kSr3Xw%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAA9%3DhGP_kbg3WsFstqouYT-KrCWEyR_Xq%2BZq%2BuCOz4-aBP%3DvZQ%40mail.gmail.com.