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

Sub-modules are not recognized when running launch_agent.py #2

Closed
ahmadnagib opened this issue Apr 15, 2020 · 0 comments
Closed

Sub-modules are not recognized when running launch_agent.py #2

ahmadnagib opened this issue Apr 15, 2020 · 0 comments

Comments

@ahmadnagib
Copy link

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!

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

1 participant