sudo apt-get install git gcc make openssl libssl-dev libbz2-dev libreadline-dev libsqlite3-dev
cd ~
git clone git://github.com/yyuu/pyenv.git .pyenv
cd .pyenv
mkdir versions shims
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="${PYENV_ROOT}/bin:${PATH}"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
source ~/.bashrc
Or, once ʻexitand re-enter
bash`
pyenv install -v 3.4.5
pyenv global 3.4.5
pyenv versions
# 3.4.To 5*OK if there is
pip install gym
sudo apt-get install python-opengl
Atari environment installation (pip install'gym [atari]'
)
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
If you are told.
sudo apt install g++