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

No module named badger_gym in CoralEnv.py line 7 #2

Open
justkittenaround opened this issue Mar 30, 2021 · 1 comment
Open

No module named badger_gym in CoralEnv.py line 7 #2

justkittenaround opened this issue Mar 30, 2021 · 1 comment

Comments

@justkittenaround
Copy link

I am trying to install and run the modular Badger experiments per the instructions on your README.

I have everything installed, I think. I had no error when installing (except I needed to install gym separate from the requirements.txt). I'm only using python3, and both pip and python direct to python3 commands.

However when I run the python coral/baseline_experiment.py with lr=0.0001 policy=RnnCommNet matrix=robot p_branching=0.5 command in the badger-2020/modular directory, I get an error ModuleNotFoundError: No module named 'badger_utils'. When I trace the error by running each import manually in python, I find that there is no badger_gym module from coral/environment/coral_env.py in line 7. Where is this file/files or module?

Did I miss something obvious or is there something missing?

Thanks for your time!

@justkittenaround
Copy link
Author

Okay so problem 1: baseline_experiment.py needs to be moved outside of the coral folder. Easy fix. :]

Problem 2 remains: there is no module badger_gym :[

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