gym-rs

HitCount Crates.io Docs.rs license

OpenAI gym binding for Rust.

Actively maintained! If you have any problem just create an issue.

Install

Just install the requierements layed out in the requirements.txt.

If you don't have python installed, go here

sh curl "https://raw.githubusercontent.com/MrRobb/gym-rs/master/requirements.txt" > requirements.txt pip install -r requirements.txt

If you have any problem trying to install the dependencies --> create an issue.

Usage

Once everything is installed, just add this crate to your your Rust project.

```toml

Cargo.toml

[dependencies] gym-rs = "*" ```

Then, to use it just do:

```rust // main.rs

extern crate gym;

/* ... */ ```

If you have any problem with your installation --> just create a new issue

Example

Once you have installed correctly the library, the only thing left is to test if its working ok. To do so, you just have to execute the following commands:

If you don't have Rust installed go here

shell script git clone https://github.com/MrRobb/gym-rs.git cd gym-rs pip install -r requirements.txt cargo run --example basic

If you have any problem try to install --> create an issue.

This repository is inspired in this genius PR made by @NivenT. It includes changes, but it is based on his contribution.