nokia/wireless-suite

Sub-modules are not recognized when running launch_agent.py

ahmadnagib opened this issue · 0 comments

As mentioned in #1, updating the name of the module results into a smooth completion of the installation process. However, when running the launch_agent.py from the scripts folder it results into: ModuleNotFoundError: No module named 'wireless.agents'

Looking again at

packages=['wireless_suite'],

, it can be noticed that the other sub-modules included in the package -such as agents- are not listed.

This can be done manually by replacing the line of code previewed above with:
packages=['wireless', 'wireless.agents', 'wireless.envs', 'wireless.utils'], for instance.
Alternatively, setuptools.find_packages() can be used to fulfill the same task automatically.

Otherwise, sub-modules will only be recognized when launch_agent.py is moved to and run from the main folder named wireless-suite.

Note: Tested on a Windows 10 machine via Anaconda Prompt!