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

Problem when running an example with visualizer #98

Open
RalphRebello opened this issue Apr 28, 2020 · 2 comments
Open

Problem when running an example with visualizer #98

RalphRebello opened this issue Apr 28, 2020 · 2 comments

Comments

@RalphRebello
Copy link

In the /ndnSIM/ns-3 folder, i execute the command ./waf --run ndn-simple --vis, it compiles, but the visual part does not load and generates this output:

Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/ralph/Apps/ndnSIM/ns-3/src/visualizer/visualizer/__init__.py", line 2, in <module> from .core import start, register_plugin, set_bounds, add_initialization_hook File "/home/ralph/Apps/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 24, in <module> import ns.core File "/home/ralph/Apps/ndnSIM/ns-3/build/bindings/python/ns/core.py", line 5, in <module> from . import _core ImportError: cannot import name _core

@RalphRebello
Copy link
Author

RalphRebello commented Apr 29, 2020

I solved this problem criating a symbolic link that point to the original librarie, inside the folder /ndnSIM/ns-3/build/bindings/python/ns/ with the name _core.so just.

Now my problem is this:
ralph@note-ralph:~/Apps/ndnSIM/ns-3$ ./waf --run=ndn-simple --vis Waf: Entering directory /home/ralph/Apps/ndnSIM/ns-3/build'
Waf: Leaving directory /home/ralph/Apps/ndnSIM/ns-3/build' Build commands will be stored in build/compile_commands.json 'build' finished successfully (17.847s) Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/ralph/Apps/ndnSIM/ns-3/src/visualizer/visualizer/__init__.py", line 2, in <module> from .core import start, register_plugin, set_bounds, add_initialization_hook File "/home/ralph/Apps/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 25, in <module> import ns.network ImportError: No module named network

The lib "ns.network", i dont know if the lib have some problem, or if dont have in my computer.

@ahmadabrar2022
Copy link

Try this
https://youtu.be/QJpGwynTiok
Ubuntu 20.04 and ndnSIM 2.8

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

2 participants