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
Ou, une fois ʻexit et ré-entrer
bash`
pyenv install -v 3.4.5
pyenv global 3.4.5
pyenv versions
# 3.4.À 5*OK s'il y a
pip install gym
sudo apt-get install python-opengl
Installation de l'environnement Atari (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.
Si on vous le dit.
sudo apt install g++
Recommended Posts