Could not find a task generator for the name 'ns3-visualizer'

34 views
Skip to first unread message

Frank Wang

unread,
Apr 9, 2017, 9:15:03 PM4/9/17
to ns-3-users
I followed the these install stuff :
sudo apt-get install build-essential libsqlite3-dev libcrypto++-dev
sudo apt-get install libboost-all-dev
sudo apt-get install python-dev python-pygraphviz python-kiwi
sudo apt-get install python-pygoocanvas python-gnome2
sudo apt-get install python-rsvg ipython

And when I do this :
./waf configure -d debug --disable-python --enable-examples --enable-tests
./waf --run examples/wireless/wifi-adhoc --visualize

This error shows :
Waf: Entering directory `/home/dtn-012345/ns-3_build/ns3-dtn-bit/ns-allinone-3.26/ns-3.26/build'
Could not find a task generator for the name 'ns3-visualizer'
What did I misunderstand? Why I can't get pyviz work?

Konstantinos

unread,
Apr 10, 2017, 2:55:21 AM4/10/17
to ns-3-users
Simply because you have disabled python... The visualizer (pyviz) requires python. After configuration you should be able to see that visualizer is enabled.

Frank Wang

unread,
Apr 10, 2017, 8:43:22 PM4/10/17
to ns-3-users
Thanks for your help.

在 2017年4月10日星期一 UTC+8下午2:55:21,Konstantinos写道:
Reply all
Reply to author
Forward
0 new messages