edbeeching/godot_rl_agents

Error when installing godot-rl and using sb3 example

Ivan-267 opened this issue · 1 comments

As was previously reported on Discord by a user, there's an error if you install Godot-RL using:
pip install godot-rl

And then try to use the newest sb3 example file to train:

File "stable_baselines_wrapper.py", line 22, in <listcomp>
    self.envs = [GodotEnv(env_path=env_path, convert_action_space=True, port=port+p, seed=p, **kwargs) for p in range(n_parallel)]
TypeError: godot_rl.core.godot_env.GodotEnv() got multiple values for keyword argument 'seed'

The simplest fix for the issue right now is installing the latest version of gdrl from the github repo, so a possible solution is to update the https://pypi.org/project/godot-rl/ package to the newest version on Github.

Seems to be working with 0.6.2, closing this issue.