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

install ns3-gym in tensorflow environment #93

Open yntao-hust opened 5 months ago

yntao-hust commented 5 months ago

Hi! According to the guide, the ns3-gym repository should be cloned to /ns-allinone-3.34/ns-3.34/contrib (take version 3.34 for example), which is a totally independent directory from anaconda. From this, the ns3-gym is in fact installed in base environment. Meanwhile, I also created tensorflow environment, which is installed in anaconda3/envs. When I use ns3gym library in tensorflow environment, it shows error: ModuleNotFoundError: No module named 'ns3gym'. ns3gym cannot be installed just by one command like 'pip install xx', so how can I installed ns3gym in tensorflow environment? Thanks a lot.