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
Oder einmal "beenden" und "bash" erneut eingeben
pyenv install -v 3.4.5
pyenv global 3.4.5
pyenv versions
# 3.4.Bis 5*OK, wenn es gibt
pip install gym
sudo apt-get install python-opengl
Installation der Atari-Umgebung (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.
Wenn es dir gesagt wird.
sudo apt install g++