Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'kiwi.ui' #105

Open
linlih opened this issue Mar 13, 2021 · 4 comments
Open

No module named 'kiwi.ui' #105

linlih opened this issue Mar 13, 2021 · 4 comments

Comments

@linlih
Copy link

linlih commented Mar 13, 2021

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
Copy link

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
Copy link
Author

linlih commented Apr 14, 2021

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

@cawka
Copy link
Member

cawka commented Apr 14, 2021

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
Copy link

fgfxf commented Nov 1, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants