# Advice on creating a new environment using OpenAI Gym

I'm looking for some general advice here before I dive in.

I'm interested in creating a new environment for OpenAI gym to provide some slightly more challenging continuous control problems than the ones currently in their set of Classic Control environments. The intended users of this new environment are just me and members of a meetup group I am in but obviously I want everyone to be able to access, install and potentially modify the same environment.

What's the easiest way to do this?

• Can I simply import and sub-class the OpenAI gym.Env module similar to the way cartpole.py does.

• Or do I need to create a whole new PIP package as this article suggests?

Also, before I invest a lot of time on this, has anyone already created a cart-pole system environment where the goal is to stabilize the full state (not just the vertical position of the pendulum)? (I tried googling and couldn't find any variants on the original cart-pole-v1 but I'm suspicious as I can't be the first person to make modified versions of some of these classic control environments).

Thanks, (I realize this question is a bit open-ended) but hoping for some good advice that will point me in the right direction.

import gym