poke-env
poke-env copied to clipboard
Error
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
Hey @SomeRandomGuy009,
Thanks for opening this issue. Do you have a script to reproduce this issue?
Yep, i'm not sure how to send it in a codeblock tho
I was just testing your simpleheuristic and pmariglia's bot.. @hsahovic
https://github.com/RemptonGames/Pokemon-Showdown-Agent/blob/main/OnlineBattles.py
I was using this code btw^
@SomeRandomGuy009 I was able to reproduce the issue and fix it by setting the version of gym
with: pip install gym==0.24.1