mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-30 17:57:30 +00:00
[Update setup.py] Support latest mujoco_py 2.0 (#1401)
* Update setup.py * Update test.dockerfile.18.04 * Update test.dockerfile.16.04
This commit is contained in:
4
setup.py
4
setup.py
@@ -10,8 +10,8 @@ extras = {
|
||||
'atari': ['atari_py>=0.1.4', 'Pillow', 'PyOpenGL'],
|
||||
'box2d': ['box2d-py>=2.3.5'],
|
||||
'classic_control': ['PyOpenGL'],
|
||||
'mujoco': ['mujoco_py>=1.50, <2.0', 'imageio'],
|
||||
'robotics': ['mujoco_py>=1.50', 'imageio'],
|
||||
'mujoco': ['mujoco_py>=1.50, <2.1', 'imageio'],
|
||||
'robotics': ['mujoco_py>=1.50, <2.1', 'imageio'],
|
||||
}
|
||||
|
||||
# Meta dependency groups.
|
||||
|
@@ -36,12 +36,15 @@ RUN \
|
||||
mkdir /root/.mujoco && \
|
||||
cd /root/.mujoco && \
|
||||
wget https://www.roboti.us/download/mjpro150_linux.zip && \
|
||||
unzip mjpro150_linux.zip
|
||||
unzip mjpro150_linux.zip && \
|
||||
wget https://www.roboti.us/download/mujoco200_linux.zip && \
|
||||
unzip mujoco200_linux.zip && \
|
||||
mv mujoco200_linux mujoco200
|
||||
|
||||
ARG MUJOCO_KEY
|
||||
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
|
||||
|
||||
# install dependencies
|
||||
|
@@ -30,11 +30,15 @@ RUN \
|
||||
mkdir /root/.mujoco && \
|
||||
cd /root/.mujoco && \
|
||||
wget https://www.roboti.us/download/mjpro150_linux.zip && \
|
||||
unzip mjpro150_linux.zip
|
||||
unzip mjpro150_linux.zip && \
|
||||
wget https://www.roboti.us/download/mujoco200_linux.zip && \
|
||||
unzip mujoco200_linux.zip && \
|
||||
mv mujoco200_linux mujoco200
|
||||
|
||||
ARG MUJOCO_KEY
|
||||
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
|
||||
|
||||
# install dependencies
|
||||
|
Reference in New Issue
Block a user