"gym.error.UnregisteredEnv: No registered env with id: XXXX"

I’d forgotten to import my custom env module at the top of the script.