PacktPublishing / Hands-On-Reinforcement-Learning-with-Python

Hands-On Reinforcement Learning with Python, published by Packt
MIT License
770 stars 330 forks source link

env = gym.make('CartPole-v0')报错 #3

Closed kepma closed 3 years ago

kepma commented 3 years ago

PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. result = entry_point.load(False)

sujitpal commented 3 years ago

This looks like an issue with gym (see issue https://github.com/openai/gym/issues/1219). Fix has been submitted per (PR https://github.com/openai/gym/pull/942) but not yet merged. Once it is merged, pip install --upgrade gym should fix the deprecation warning. Meanwhile since it is not an error, it should be okay to ignore.