Installation
https://github.com/bulletphysics/bullet3
Follow the guide from the page above.
screen -S jupyter
source activate tensorflow
jupyter notebook
Install MuJoCo
# create conda env with python v3.5.2
# https://github.com/openai/mujoco-py/issues/47#issuecomment-312551946
conda create --name gym python=3.5.2
source activate gym
mkdir -p ~/openai && cd ~/openai
# install gym
# https://github.com/openai/mujoco-py/issues/74#issuecomment-338410266
brew install cmake boost boost-python sdl2 swig wget
# see: https://github.com/openai/gym/issues/164#issuecomment-263785233
export MACOSX_DEPLOYMENT_TARGET=10.12
# pip install 'gym[all]'
git clone https://github.com/openai/gym.git
cd ./gym
pip install -e '.[all]'
brew install gcc@5
## use gcc5
# add to ~/.bash_profile
alias gcc='gcc-5'
alias cc='gcc-5'
alias g++='g++-5'
alias c++='c++-5'
# source ~/.bash_profile
## install mujoco v1.50 binaries
cd ~/openai
mkdir ~/.mujoco
# NOTE: remember to copy mujoco license key to ~/.mujoco/mjkey.txt
# download OSX binaries
wget https://www.roboti.us/download/mjpro150_osx.zip
unzip mjpro150_osx.zip && mv mjpro150 ~/.mujoco
# wget https://www.roboti.us/download/mjpro131_osx.zip
# unzip mjpro131_osx.zip && mv mjpro131 ~/.mujoco
git clone https://github.com/openai/mujoco-py.git
# pwd: cd ~/openai
rm -rf mujoco-py
git clone https://github.com/openai/mujoco-py.git
git checkout master # mujoco v1.50
cd mujoco-py && python setup.py install
brew install gcc --without-multilib`
brew install gcc@6
____________________________________________
'Enginius > Python&TensorFlow' 카테고리의 다른 글
vs code로 서버 접속하기 (0) | 2018.09.06 |
---|---|
MuJoCo Ant-V2 + PPO implementation (0) | 2018.07.03 |
Install MuJoCo (카브) (0) | 2018.06.22 |
서버에서 쥬피터 킬 때 display 사용법 (0) | 2018.02.22 |
TensorFlow 'reduce_prod', 'kron', 'tf_normal','tf.nn.softmax','invkronprod','save&load' (0) | 2018.01.05 |