Gym: module 'gym' has no attribute 'make'

Created on 26 Mar 2017  路  1Comment  路  Source: openai/gym

Traceback (most recent call last):
File "./test.py", line 249, in
env = gym.make('BipedalWalkerHardcore-v2')
AttributeError: module 'gym' has no attribute 'make'
How should I solve this error?

Most helpful comment

You probably have a file in your local directory called 'gym.py', which conflicts with the installed gym. In Python, avoid naming files with names that might conflict with packages.

>All comments

You probably have a file in your local directory called 'gym.py', which conflicts with the installed gym. In Python, avoid naming files with names that might conflict with packages.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Baichenjia picture Baichenjia  路  3Comments

tylerlekang picture tylerlekang  路  3Comments

Ettrig picture Ettrig  路  3Comments

zhan0903 picture zhan0903  路  4Comments

david8373 picture david8373  路  4Comments