-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Getting started example causes TypeError: object of type 'TimeLimit' has no len() #819
Comments
Thanks for reporting this issue, will fix soon! |
Just change "import gym" to "import gymnasium as gym" in collector.py. |
Update: I can't reproduce the above error. I think it's because of a version mismatch, since I ran with current master version instead of using |
Hello, @Trinkle23897 Thanks for the great work, but I am still getting this issue: |
I'm tryin to execute the example on the start page (https://github.com/thu-ml/tianshou).
When running
I ran into the following
When doing the same in GoogleColab, I'm having the same issue.
The text was updated successfully, but these errors were encountered: