-
Notifications
You must be signed in to change notification settings - Fork 38
Description
I am trying to work with EMANE and would like to be able to modify the unicastrate and multicastrate of the IEEE802.11abg model at runtime. When I tried to use $ emanesh node-1 set config nems mac unicastrate=10 I get an error. I get the same error when I try to run emanesh node-1 without any other parameters.
jcsloop in ~:emanesh node-1
Traceback (most recent call last):
File "/usr/bin/emanesh", line 4, in <module>
__import__('pkg_resources').run_script('emane==1.5.1', 'emanesh')
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3267, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3241, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3279, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 573, in _build_master
ws.require(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'emane==1.5.1' distribution was not found and is required by the application
jcsloop in ~:
I am certain my emane version is 1.5.1:
jcsloop in ~:emane --version
1.5.1
jcsloop in ~:
I am not sure what could be causing this problem. I have tried to solve the problem myself by making sure emanesh has been installed correctly:
jcsloop in ~:which emanesh
/usr/bin/emanesh
jcsloop in ~:
I have also confirmed emanesh is in my $PATH. I have tried adding the path to emanesh into my $PYTHONPATH and that didn't solve the issue either. Both of my coworkers working with me are having the same problem where we are just unable to use emanesh which has made working with EMANE at runtime quite problematic. Other than emanesh not working everything else has been working normally so I don't think it is a problem with my EMANE installation. My coworkers and I are all using Ubuntu 22.04 with EMANE version 1.5.1. Is there a known fix for this issue?