Skip to content

Commit

Permalink
only support mujoco-py <2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherhesse committed Nov 8, 2019
1 parent 21bd4f3 commit 5fb3599
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions py.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@ RUN \
mkdir /root/.mujoco && \
cd /root/.mujoco && \
curl -O https://www.roboti.us/download/mjpro150_linux.zip && \
unzip mjpro150_linux.zip && \
curl -O https://www.roboti.us/download/mujoco200_linux.zip && \
unzip mujoco200_linux.zip && \
mv mujoco200_linux mujoco200
unzip mjpro150_linux.zip

ARG MUJOCO_KEY
ARG PYTHON_VER
ENV MUJOCO_KEY=$MUJOCO_KEY

ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mjpro150/bin
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mujoco200/bin
RUN echo $MUJOCO_KEY | base64 --decode > /root/.mujoco/mjkey.txt
RUN pip install pytest pytest-forked lz4

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
'atari': ['atari_py~=0.2.0', 'Pillow', 'opencv-python'],
'box2d': ['box2d-py~=2.3.5'],
'classic_control': [],
'mujoco': ['mujoco_py>=1.50, <2.1', 'imageio'],
'robotics': ['mujoco_py>=1.50, <2.1', 'imageio'],
'mujoco': ['mujoco_py>=1.50, <2.0', 'imageio'],
'robotics': ['mujoco_py>=1.50, <2.0', 'imageio'],
}

# Meta dependency groups.
Expand Down

0 comments on commit 5fb3599

Please sign in to comment.