solution to the issue for installation

24 views
Skip to first unread message

Anju Jha

unread,
Sep 27, 2024, 8:51:11 AM9/27/24
to ns-3-users
hi i am new to ns3 simulator , i am trying to install ns3 simulator o my WSL installation using ubuntu distribution i wanted to use the jupyter notebook for programming based on ns3 lte module but their came an issue is it necessary that my ns3 installation should be in directory of conda to use it since i have installed conda in main and ns3 inside user directory . after launching notebook when i used command from ns import ns this executed properly but import ns.core or any like import ns.application is not executing and shows no such module ns.core please suggest some solution to this.

Gabriel Ferreira

unread,
Sep 27, 2024, 10:58:51 AM9/27/24
to ns-3-users
You need to set the environment variable

PYTHONPATH=$PYTHONPATH:/ns-3-dev/build/bindings/python
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ns-3-dev/build/lib

Then start the jupyter server.

Anju Jha

unread,
Sep 28, 2024, 6:10:02 PM9/28/24
to ns-3-...@googlegroups.com

Thank you for response I will try to do the suggested and will let it worked or not


--
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 on the web visit https://groups.google.com/d/msgid/ns-3-users/f0ae742f-069f-4c0d-b58e-c3a917a1a0f4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages