kenjyoung / MinAtar

GNU General Public License v3.0
283 stars 56 forks source link

Gymnasium entry_points fix #33

Closed strasserpatrick closed 1 year ago

strasserpatrick commented 1 year ago

Hello, first of all, thank you for putting together that awesome repository for all the Atari emulators.

Unfortunately, when cloning your repository, I was not able to create the environments with gymnasium and `gymnasium.make('MinAtar/...'). After some debugging, I figured out that the namespace for registering the MinAtar environments was still pointing to the old gym entrypoint instead of gymnasium.

It would be nice if you accept the pull request which fixes that issue. With that you can use gymnasium out of the box with minatar without additional tweaks in the site-packages.

strasserpatrick commented 1 year ago

A little extension,

the error message I get without fixing the setup.pyfile is the following:

gymnasium.error.NamespaceNotFound: Namespace MinAtar not found. Have you installed the proper package for MinAtar?