poke-env icon indicating copy to clipboard operation
poke-env copied to clipboard

Error

Open SomeRandomGuy009 opened this issue 2 years ago • 5 comments

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

SomeRandomGuy009 avatar Jul 24 '22 14:07 SomeRandomGuy009

Hey @SomeRandomGuy009,

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

hsahovic avatar Jul 25 '22 09:07 hsahovic

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

SomeRandomGuy009 avatar Jul 25 '22 09:07 SomeRandomGuy009

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

SomeRandomGuy009 avatar Jul 25 '22 09:07 SomeRandomGuy009

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

I was using this code btw^

SomeRandomGuy009 avatar Jul 25 '22 09:07 SomeRandomGuy009

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

hsahovic avatar Jul 28 '22 08:07 hsahovic