Openai Gym Retro Error: "Attributeerror: Module 'Gym. Utils. Seeding' Has No Attribute 'Hash_Seed'"

I am using WSL2 and Ubuntu 20.4, I create a fresh virtual enviroment using (venv), and install gym-retro as the OpenAI official page states (), using the following command:

pip3 install gym-retro

I get no error while installing it, and then to test it I run the command (as stated in the getting started page previouly mentioned):

python3 -m retro.examples.interactive --game Airstriker-Genesis

And the get the following error:

Can somebody, please help me?

I have also tested it using the easiest implementation (calling retro.make("Game-name")) and I also get the same error.

1

1 Answer

Downgrade gym to 0.25.2. On release 0.26.0 the hash_seed was removed.

See:

$ pip install gym==0.25.2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest