oxwhirl / pymarl

Python Multi-Agent Reinforcement Learning framework
Apache License 2.0
1.82k stars 380 forks source link

failed when running an experiment (No mudule named 'smac.env') #136

Closed Who-Am-I25 closed 1 year ago

Who-Am-I25 commented 2 years ago

We didn't build the Dockerfile and directly set up StarCraft II and SMAC by using bash install_sc2.sh. The environment we download includes StartCraftII folder and SMAC_Maps folder. When we run "python3 src/main.py --config=qmix --env-config=sc2 with env_args.map_name=2s3z", it raises the following error: ModuleNotFoundError: No mudule named 'smac.env'. What are the correct steps to run codes?

theRossFromFriends commented 2 years ago

Try installing smac separately with pip install git+https://github.com/oxwhirl/smac.git as it says in their readme https://github.com/oxwhirl/smac

samvelyan commented 1 year ago

Seems like smac repo is not properly installed. The instruction above should solve the issue.