You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Ubuntu 14.04.
I followed the instruction on Github to build and run OpenNet.
In ./install.sh, It is crushing on waf build for ns3. I built ns3.22 myself and continued the execution of install.sh without ns3. Everything was installed. When I am trying to run python mininet/examples/opennet/wifi/two-ap-one-sw.py, I am getting this error:
File "two-ap-one-sw.py", line 22, in
import mininet.ns3
File "build/bdist.linux-x86_64/egg/mininet/ns3.py", line 45, in
File "/usr/local/lib/python2.7/dist-packages/ns/core.py", line 5, in
from . import _core
ImportError: cannot import name _core
In addition, running wifi-cluster.py is giving this error:
File "wifi-cluster.py", line 12, in
from mininet.opennet import *
File "build/bdist.linux-x86_64/egg/mininet/opennet.py", line 7, in
ImportError: No module named netanim
Any help is appreciated.
Thank you
The text was updated successfully, but these errors were encountered:
In this case, the script reports "No module named netanim", netanim is an NS-3 module, and it seems it can not be imported.
OpenNet shall be built via install.sh, install.sh will ensure python binding of NS-3 can be triggered, once python binding is completed, NS-3 modules shall be able to used in python.
What crush scenario do you counter when build NS-3? CPU at least 2 core and RAM more than 2 GB is recommended to build OpenNet.
Hi,
I am using Ubuntu 14.04.
I followed the instruction on Github to build and run OpenNet.
In ./install.sh, It is crushing on waf build for ns3. I built ns3.22 myself and continued the execution of install.sh without ns3. Everything was installed. When I am trying to run python mininet/examples/opennet/wifi/two-ap-one-sw.py, I am getting this error:
File "two-ap-one-sw.py", line 22, in
import mininet.ns3
File "build/bdist.linux-x86_64/egg/mininet/ns3.py", line 45, in
File "/usr/local/lib/python2.7/dist-packages/ns/core.py", line 5, in
from . import _core
ImportError: cannot import name _core
In addition, running wifi-cluster.py is giving this error:
File "wifi-cluster.py", line 12, in
from mininet.opennet import *
File "build/bdist.linux-x86_64/egg/mininet/opennet.py", line 7, in
ImportError: No module named netanim
Any help is appreciated.
Thank you
The text was updated successfully, but these errors were encountered: