openai / maddpg

Code for the MADDPG algorithm from the paper "Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments"
https://arxiv.org/pdf/1706.02275.pdf
MIT License
1.6k stars 484 forks source link

Having trouble with import maddpg #22

Open ishanivyas opened 5 years ago

ishanivyas commented 5 years ago

I am having trouble when I run python3 train.py --scenario simple File "train.py", line 12, in import maddpg ModuleNotFoundError: No module named 'maddpg'

Acmece commented 5 years ago

Please ensure that multiagent-particle-envs has been added to your PYTHONPATH (e.g. in ~/.bashrc or ~/.bash_profile).

You can attach the follow line in your bashrc or execute it in command line: export PYTHONPATH= /path/to/maddpg:${PYTHONPATH}