named-data-ndnSIM / ndnSIM

ndnSIM: NS-3 based NDN simulator
GNU General Public License v3.0
108 stars 165 forks source link

No module named 'kiwi.ui' #105

Open linlih opened 3 years ago

linlih commented 3 years ago

As the title says.

Install in Ubuntu 20.04 according to tutorial in https://ndnsim.net/current/getting-started.html

Runing result as follow: ./waf --run=ndn-grid --vis

Waf: Entering directory /home/linlh/Code/ndn/ndnSIM/ns-3/build' Waf: Leaving directory/home/linlh/Code/ndn/ndnSIM/ns-3/build' Build commands will be stored in build/compile_commands.json 'build' finished successfully (1.791s) Could not load plugin 'show_last_packets.py': No module named 'kiwi.ui' Could not load icon applets-screenshooter due to missing gnomedesktop Python module scanning topology: 9 nodes... scanning topology: calling graphviz layout scanning topology: all done. /home/linlh/Code/ndn/ndnSIM/ns-3/src/visualizer/visualizer/core.py:1508: Warning: Source ID 214 was not found when attempting to remove it GLib.source_remove(self._update_timeout_id) assert failed. cond="SystemThread::Equals (m_main)", msg="Simulator::Schedule Thread-unsafe invocation!", file=../src/core/model/default-simulator-impl.cc, line=233 terminate called without an active exception Command ['/home/linlh/Code/ndn/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-grid-debug', '--SimulatorImplementationType=ns3::VisualSimulatorImpl'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ").

ahmadabrar2022 commented 3 years ago

This one is the best tutorial see with carefully https://youtu.be/QJpGwynTiok see here I think you miss this command

sudo pip3 install kiwi

linlih commented 3 years ago

I confirmed the kiwi was installed. Still got the same problem

cawka commented 3 years ago

The kiwi module is optional. Without, you just not going to have one of the plugins. But not quite sure why it is saying about thread-unsafe invocation.

fgfxf commented 1 year ago

mee too,I confirmed the kiwi was installed.

root@kali:~/桌面/ndnsim2/ns-3-dev-ndnSIM-ns-3.35# sudo pip3 install kiwi
Requirement already satisfied: kiwi in /usr/local/lib/python3.10/dist-packages (9.24.48) Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from kiwi) (4.9.1) Requirement already satisfied: PyYAML in /usr/local/lib/python3.10/dist-packages (from kiwi) (6.0) Requirement already satisfied: docopt>=0.6.2 in /usr/local/lib/python3.10/dist-packages (from kiwi) (0.6.2) Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from kiwi) (2.28.1) Requirement already satisfied: pyxattr in /usr/local/lib/python3.10/dist-packages (from kiwi) (0.7.2) Requirement already satisfied: simplejson in /usr/lib/python3/dist-packages (from kiwi) (3.17.6) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->kiwi) (1.26.12) Requirement already satisfied: charset-normalizer<3,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->kiwi) (2.1.1) Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->kiwi) (3.4) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->kiwi) (2022.9.24)

maybe it is kali,and python and python3 have different?