64
64
65
65
export MUJOCO_GL=$PRIVATE_MUJOCO_GL
66
66
conda env config vars set MUJOCO_PY_MUJOCO_PATH=$root_dir /.mujoco/mujoco210 \
67
- DISPLAY=unix:0.0 \
67
+ MAX_IDLE_COUNT=1000 \
68
+ DISPLAY=:99 \
68
69
MJLIB_PATH=$root_dir /.mujoco/mujoco-2.1.1/lib/libmujoco.so.2.1.1 \
69
70
LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$root_dir /.mujoco/mujoco210/bin \
70
71
SDL_VIDEODRIVER=dummy \
71
72
MUJOCO_GL=$PRIVATE_MUJOCO_GL \
72
- PYOPENGL_PLATFORM=$PRIVATE_MUJOCO_GL
73
+ PYOPENGL_PLATFORM=$PRIVATE_MUJOCO_GL \
74
+ TOKENIZERS_PARALLELISM=true
73
75
74
76
# Software rendering requires GLX and OSMesa.
75
77
if [ $PRIVATE_MUJOCO_GL == ' egl' ] || [ $PRIVATE_MUJOCO_GL == ' osmesa' ] ; then
@@ -94,32 +96,8 @@ if [[ $OSTYPE != 'darwin'* ]]; then
94
96
# install ale-py: manylinux names are broken for CentOS so we need to manually download and
95
97
# rename them
96
98
PY_VERSION=$( python --version)
97
- echo " installing ale-py for ${PY_PY_VERSION} "
98
- if [[ $PY_VERSION == * " 3.7" * ]]; then
99
- wget https://files.pythonhosted.org/packages/ab/fd/6615982d9460df7f476cad265af1378057eee9daaa8e0026de4cedbaffbd/ale_py-0.8.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
100
- pip install ale_py-0.8.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
101
- rm ale_py-0.8.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
102
- elif [[ $PY_VERSION == * " 3.8" * ]]; then
103
- wget https://files.pythonhosted.org/packages/0f/8a/feed20571a697588bc4bfef05d6a487429c84f31406a52f8af295a0346a2/ale_py-0.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
104
- pip install ale_py-0.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
105
- rm ale_py-0.8.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
106
- elif [[ $PY_VERSION == * " 3.9" * ]]; then
107
- wget https://files.pythonhosted.org/packages/a0/98/4316c1cedd9934f9a91b6e27a9be126043b4445594b40cfa391c8de2e5e8/ale_py-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
108
- pip install ale_py-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
109
- rm ale_py-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
110
- elif [[ $PY_VERSION == * " 3.10" * ]]; then
111
- wget https://files.pythonhosted.org/packages/60/1b/3adde7f44f79fcc50d0a00a0643255e48024c4c3977359747d149dc43500/ale_py-0.8.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
112
- mv ale_py-0.8.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl ale_py-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
113
- pip install ale_py-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
114
- rm ale_py-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
115
- elif [[ $PY_VERSION == * " 3.11" * ]]; then
116
- wget https://files.pythonhosted.org/packages/60/1b/3adde7f44f79fcc50d0a00a0643255e48024c4c3977359747d149dc43500/ale_py-0.8.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
117
- mv ale_py-0.8.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl ale_py-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
118
- pip install ale_py-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
119
- rm ale_py-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
120
- fi
121
99
echo " installing gymnasium"
122
- pip install " gymnasium[atari,accept-rom-license]<1.0 "
100
+ pip install " gymnasium[atari]>=1.1 "
123
101
else
124
- pip install " gymnasium[atari,accept-rom-license]<1.0 "
102
+ pip install " gymnasium[atari]>=1.1 "
125
103
fi
0 commit comments