hsahovic / poke-env

A python interface for training Reinforcement Learning bots to battle on pokemon showdown
https://poke-env.readthedocs.io/
MIT License
284 stars 94 forks source link

Error #305

Open SomeRandomGuy009 opened 2 years ago

SomeRandomGuy009 commented 2 years ago

TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Python version: 3.8.13 and 3.10.5

poke-env version: 0.4.21

hsahovic commented 2 years ago

Hey @SomeRandomGuy009,

Thanks for opening this issue. Do you have a script to reproduce this issue?

SomeRandomGuy009 commented 2 years ago

Yep, i'm not sure how to send it in a codeblock tho

SomeRandomGuy009 commented 2 years ago

I was just testing your simpleheuristic and pmariglia's bot.. @hsahovic

SomeRandomGuy009 commented 2 years ago

https://github.com/RemptonGames/Pokemon-Showdown-Agent/blob/main/OnlineBattles.py

I was using this code btw^

hsahovic commented 2 years ago

@SomeRandomGuy009 I was able to reproduce the issue and fix it by setting the version of gym with: pip install gym==0.24.1