named-data / mini-ndn

Mininet-based NDN emulator (mailing list: http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn)
https://minindn.memphis.edu
GNU General Public License v3.0
72 stars 41 forks source link

Module Not Found- miniNDN #37

Open sqb39 opened 5 years ago

sqb39 commented 5 years ago

I just installed minindn and all its dependencies following the instructions in GitHub. After installing, when I write the command: "sudo minindn" the following error occurs:

Traceback (most recent call last): File "/usr/local/bin/minindn", line 4, in import('pkg_resources').run_script('Mini-NDN==0.4.0', 'minindn') File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 658, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1438, in run_script exec(code, namespace, namespace) File "/usr/local/lib/python3.6/dist-packages/Mini_NDN-0.4.0-py3.6.egg/EGG-INFO/scripts/minindn", line 70, in from ndn import ExperimentManager File "/usr/local/lib/python3.6/dist-packages/Mini_NDN-0.4.0-py3.6.egg/ndn/init.py", line 24, in import experiment_manager as ExperimentManager ModuleNotFoundError: No module named 'experiment_manager'

FYI, my mininet is running properly

RafaelDBeltran commented 3 years ago

Hey, i do have the same problem and solve. In my case this happen because my S.O is not present on list of install of the mininet in the setup script and the script install on the python priority(my case python2.7). I edit the scripts to be compatible with my machine. After that i install the infoedit again and it worked.