Install gym[box2d] on Colab for LunarLander-v2 policy gradients exercise solution

main
Aurélien Geron 2021-03-20 10:46:02 +13:00
parent 9af016e341
commit 90e53af92c
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
" # %tensorflow_version only exists in Colab.\n",
" %tensorflow_version 2.x\n",
" !apt update && apt install -y libpq-dev libsdl2-dev swig xorg-dev xvfb\n",
" !pip install -q -U tf-agents pyvirtualdisplay gym[atari]\n",
" !pip install -q -U tf-agents pyvirtualdisplay gym[atari,box2d]\n",
" IS_COLAB = True\n",
"except Exception:\n",
" IS_COLAB = False\n",