Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: metaclass conflict when installing #14

Open
ksivakumar opened this issue Jan 24, 2023 · 0 comments
Open

TypeError: metaclass conflict when installing #14

ksivakumar opened this issue Jan 24, 2023 · 0 comments

Comments

@ksivakumar
Copy link

Gym version is 0.25.1 and mujoco210 is being used. python setup.py install works to install mujoco-maze==0.2.0. However when I try to import mujoco_maze in python (version 3.8.13), I get:

import mujoco_maze
Traceback (most recent call last):
File "", line 1, in
File "/home/ksivakumar/Documents/mujoco-maze/mujoco_maze/init.py", line 11, in
from mujoco_maze.ant import AntEnv
File "/home/ksivakumar/Documents/mujoco-maze/mujoco_maze/ant.py", line 13, in
from mujoco_maze.agent_model import AgentModel
File "/home/ksivakumar/Documents/mujoco-maze/mujoco_maze/agent_model.py", line 11, in
class AgentModel(ABC, MujocoEnv, EzPickle):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

How do I solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant