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

Chapter 7 #86

Open
A1513906286 opened this issue Aug 18, 2024 · 2 comments
Open

Chapter 7 #86

A1513906286 opened this issue Aug 18, 2024 · 2 comments

Comments

@A1513906286
Copy link

DQN的代码会报错:
AttributeError: 'CartPoleEnv' object has no attribute 'seed'

@A1513906286
Copy link
Author

解决方法:将gym降级:
pip uninstall gym
pip install gym==0.25.2

@xybay
Copy link

xybay commented Oct 9, 2024

我在gym降级后又遇到了:
AttributeError: module 'numpy' has no attribute 'bool8'
问一下是numpy版本的问题吗,用的哪个版本?

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

2 participants