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: reset() takes 1 positional argument but 2 were given #1

Closed
zlg9folira opened this issue Nov 27, 2021 · 1 comment
Closed

Comments

@zlg9folira
Copy link

zlg9folira commented Nov 27, 2021

While I can run follow_the_gap simulation, I have errors on the other two:

# python3 GraphPlanner_MultiVehiclepy.py

Traceback (most recent call last):

.../ESweek2021_educationclassA3/03_GraphBasedPlanner/GraphPlanner_MultiVehiclepy.py", line 516, in <module>: 
 obs, step_reward, done, info = env.reset(np.array([[conf.sx, conf.sy, conf.stheta],[conf.sx2, conf.sy2, conf.stheta2]]))
TypeError: reset() takes 1 positional argument but 2 were given

I have installed the requirements (using python3.9). Any idea is appreciated.

@zlg9folira
Copy link
Author

The issue is addressed by downgrading gym.

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