pedrodbs / InterestingnessXRL

A python library for eXplainable Reinforcement Learning (XRL) based on the concept of interestingness elements.
GNU General Public License v3.0
7 stars 0 forks source link

TyperError: Method Resolution Error #1

Open abhiksingla opened 4 years ago

abhiksingla commented 4 years ago

Facing the following issue when running python -m interestingness_xrl.bin.multi_agent_runner.py -a 0 -t 100 -p directly after installing the repository. How to fix this?

Traceback (most recent call last):
  File "/home/abhik/miniconda3/envs/py37/lib/python3.7/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/home/abhik/miniconda3/envs/py37/lib/python3.7/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/home/abhik/InterestingnessXRL/interestingness_xrl/bin/multi_agent_runner.py", line 7, in <module>
    from interestingness_xrl.scenarios import AgentType
  File "/home/abhik/InterestingnessXRL/interestingness_xrl/scenarios/__init__.py", line 5, in <module>
    from interestingness_xrl.learning.explorations import ExpDecaySoftMax, SoftMaxExploration, ManualExploration, \
  File "/home/abhik/InterestingnessXRL/interestingness_xrl/learning/explorations.py", line 8, in <module>
    class ExplorationStrategy(object, ABC):
  File "/home/abhik/miniconda3/envs/py37/lib/python3.7/abc.py", line 126, in __new__
    cls = super().__new__(mcls, name, bases, namespace, **kwargs)
TypeError: Cannot create a consistent method resolution
order (MRO) for bases object, ABC
pedrodbs commented 4 years ago

Hi @abhiksingla please use the updated version at: https://github.com/SRI-AIC/InterestingnessXRL

Be sure to reinstall everything.

abhiksingla commented 4 years ago

Thank you @pedrodbs for your response but the above repository seems to be private.

pedrodbs commented 4 years ago

Sorry @abhiksingla, it should be accessible now.