Create an OpenAI Gym environment with bash on Windows 10

Install pyenv

Referenced

Advance preparation

sudo apt-get install git gcc make openssl libssl-dev libbz2-dev libreadline-dev libsqlite3-dev

pyenv download

cd ~
git clone git://github.com/yyuu/pyenv.git .pyenv
cd .pyenv
mkdir versions shims

Environment variables / initialization settings

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-enterbash`

python installation

pyenv install -v 3.4.5

Change default version

pyenv global 3.4.5
pyenv versions
# 3.4.To 5*OK if there is

Install OpenAI Gym

pip install gym

Other

opengl install

sudo apt-get install python-opengl

g ++ installation

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++

Recommended Posts

Create an OpenAI Gym environment with bash on Windows 10
Create an environment with virtualenv
Create a Linux environment on Windows 10
Let's get started with Python ~ Building an environment on Windows 10 ~
Create an OpenCV3 + python3 environment on OSX
Building an environment for "Tello_Video" on Windows
Steps to create a Python virtual environment with VS Code on Windows
Create an environment of 64bit Windows + python 2.7 + MeCab 0.996
Create a Python virtual development environment on Windows
A story about building an IDE environment with WinPython on an old Windows OS.
Create a comfortable Python 3 (Anaconda) development environment on windows
Create an environment for MkDocs on Amazon Linux (attempted)
Create a decent shell and python environment on Windows
Create an environment for test automation with AirtestIDE (Tips)
Create an exe file that works in a Windows environment without Python with PyInstaller
Until you create a machine learning environment with Python on Windows 7 and run it
Create an API with Django
venv environment with windows powershell
Prepare Chainer environment on Windows
Build Python environment on Windows
Django environment development on Windows 10
[Tensorflow] Tensorflow environment construction on Windows 10
Blogging with Pelican on Windows
Rebuilding an environment for machine learning with Miniconda (Windows version)
OpenJTalk on Windows10 (Speak Japanese with Python from environment construction)
Create an environment for "Deep Learning from scratch" with Docker
Minimum Makefile and buildout.cfg to create an environment with buildout
Introducing Kaggle's Docker Image on Windows to build an environment
Create a Todo app with Django ① Build an environment with Docker
Create a Python environment for professionals in VS Code on Windows
I tried to create a server environment that runs on Windows 10
Create a Python execution environment for Windows with VScode + Remote WSL
I tried to create an environment of MkDocs on Amazon Linux
Python environment construction memo on Windows 10
Solve OpenAI Gym Copy-v0 with Q-learning
Anaconda python environment construction on Windows 10
Build a 64-bit Python 2.7 environment with TDM-GCC and MinGW-w64 on Windows 7
Install python2.7 on windows 32bit environment
Create a Python environment on Mac (2017/4)
Create an AWS Cloud9 development environment on your Amazon EC2 instance
Create a virtual environment with Python!
When I get an error with Pylint in Atom on Windows
Create an Excel file with Python3
Run SwitchBot on Windows 10 with Bleak
Create a python environment on centos
Use Tensorflow 2.1.0 with Anaconda on Windows 10!
Create an environment for Django x Apache x mod_wsgi with Vagrant (Ubuntu 16.04)
Run XGBoost on Bash on Ubuntu on Windows
Getting started with USD on Windows
Install Python development environment on Windows 10
Solve OpenAI Gym Copy-v0 with Sarsa
Create an age group with pandas
Create an arbitrary machine learning environment with GCP + Docker + Jupyter Lab
Getting started with Python 3.8 on Windows
[Definitive Edition] Building an environment for learning "machine learning" using Python on Windows
Unable to import packages installed in virtual environment with Anaconda on Windows 10
Create a Python development environment on Windows (Visual Studio Code remote WSL).
Build an environment with pyenv, pyenv-virtualenv, jupyter on OS X El Capitan
Create a Python3 environment with pyenv on Mac and display a NetworkX graph
[Python] Building an environment with Anaconda [Mac]
Run servo with Python on ESP32 (Windows)