标签: python anaconda jupyter reinforcement-learning
我在anaconda上安装了Gym,尝试在jupyter笔记本上运行测试代码 但结果是-ipykernel_launcher.py没有响应
import gym env = gym.make('CartPole-v0') env.reset() for _ in range(10): env.render() env.step(env.action_space.sample())