Skip to content

Commit dcc8c0f

Browse files
author
Jian Hu
committed
Fix Google Football
1 parent 3e4fb9a commit dcc8c0f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

install_dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
# conda activate pymarl
66

77
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch-lts -c nvidia -y
8-
pip install protobuf==3.20.2 sacred==0.8.2 numpy scipy gym==0.10.8 matplotlib seaborn \
8+
pip install protobuf==3.20.2 sacred==0.8.2 numpy scipy gym==0.11 matplotlib seaborn \
99
pyyaml==5.3.1 pygame pytest probscale imageio snakeviz tensorboard-logger
1010
pip install git+https://github.com/oxwhirl/smac.git

install_gfootball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ libsdl2-image-dev libsdl2-ttf-dev libsdl2-gfx-dev libboost-all-dev \
33
libdirectfb-dev libst-dev mesa-utils xvfb x11vnc
44

55
pip install --upgrade psutil wheel pytest
6-
pip install gfootball
6+
pip install gfootball==2.10.2 gym==0.11

src/envs/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
try:
1212
gfootball = True
1313
from .gfootball import GoogleFootballEnv
14-
except:
14+
except Exception as e:
1515
gfootball = False
16+
print(e)
1617

1718
def env_fn(env, **kwargs) -> MultiAgentEnv:
1819
return env(**kwargs)

0 commit comments

Comments
 (0)