File tree 3 files changed +14
-3
lines changed
3 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ dependencies:
15
15
# Please keep alphabetized
16
16
- awscli
17
17
- boto3
18
- - Box2D>=2.3.2
18
+ # box2d-py>=2.3.4 works both on Linux and OSX.
19
+ - box2d-py>=2.3.4
19
20
- cached_property
20
21
- cloudpickle
21
22
- cma==1.1.06
Original file line number Diff line number Diff line change @@ -219,10 +219,15 @@ conda activate garage
219
219
fi
220
220
221
221
# Fix Box2D install
222
+ # box2d-py 2.3.4 works on both Linux & OSX and is
223
+ # actively mantained by OpenAI.
224
+ # Before that, box2d-py works only on Linux,
225
+ # and Box2D-kengz works only on OSX.
222
226
# See https://github.com/openai/gym/issues/100
223
227
# See https://github.com/pybox2d/pybox2d/issues/82
228
+ # See https://github.com/openai/gym/pull/1120 (fixed)
224
229
pip uninstall -y Box2D Box2D-kengz box2d-py
225
- pip install Box2D
230
+ pip install box2d-py
226
231
227
232
# We need a MuJoCo key to import mujoco_py
228
233
cp ${_arg_mjkey} " ${HOME} " /.mujoco/mjkey.txt
Original file line number Diff line number Diff line change @@ -228,10 +228,15 @@ conda activate garage
228
228
pip install -e .
229
229
230
230
# Fix Box2D install
231
+ # box2d-py 2.3.4 works on both Linux & OSX and is
232
+ # actively mantained by OpenAI.
233
+ # Before that, box2d-py works only on Linux,
234
+ # and Box2D-kengz works only on OSX.
231
235
# See https://github.com/openai/gym/issues/100
232
236
# See https://github.com/pybox2d/pybox2d/issues/82
237
+ # See https://github.com/openai/gym/pull/1120 (fixed)
233
238
pip uninstall -y Box2D Box2D-kengz box2d-py
234
- pip install Box2D-kengz --no-binary Box2D-kengz
239
+ pip install box2d-py
235
240
236
241
# We need a MuJoCo key to import mujoco_py
237
242
cp ${_arg_mjkey} " ${HOME} " /.mujoco/mjkey.txt
You can’t perform that action at this time.
0 commit comments