Step1:将gym克隆到计算机上:

git clone https://github.com/openai/gym.git

如果你的电脑没有安装git,那么键入

sudo apt install git

Step2:进入gym文件夹

cd gym

 

step3安装库

sudo apt-get install golang python3-dev python-dev libcupti-dev libjpeg-turbo8-dev make tmux htop chromium-browser git cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig

 

 

Step4:进行完全安装

pip install -e
apt-get install -y python-numpy python-dev cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig

结束

posted on 2018-12-20 13:55  Fiona_Y  阅读(339)  评论(0编辑  收藏  举报