ns-3.39 python bindings

69 views
Skip to first unread message

Tasnim Ferdous

unread,
Aug 20, 2023, 11:14:07 PM8/20/23
to ns-3-users
Hello, this may be a noob question but from ns-3.37 I have been baffled by the messages "NS3_BINDINGS_INSTALL_DIR was not set" and 'Set NS3_BINDINGS_INSTALL_DIR="/home/$USER/.local/lib/python3.10/site-packages"', rendering me unable to use the visualizer module. Can anyone point me in the right direction and/or suggest a solution to this issue? There are no guides or answers online to this problem from what I have seen so far. I am on Ubuntu 22.04.

Gabriel Ferreira

unread,
Aug 21, 2023, 10:16:06 AM8/21/23
to ns-3-users
This setting isn't meant for you, the end-user, but for me and other package maintainers. 
The visualizer should work just fine if you run your script via the ns3 script, or set 

export PYTHONPATH=$PYTHONPATH:/path/to/ns-3-dev/build/bindings/python

Tasnim Ferdous

unread,
Aug 22, 2023, 1:39:31 AM8/22/23
to ns-3-users
Thank you, I thought that the visualizer module wasn't being installed.
Reply all
Reply to author
Forward
0 new messages