{"action":"created","issue":{"url":"https://api.github.com/repos/openai/gym/issues/85","repository_url":"https://api.github.com/repos/openai/gym","labels_url":"https://api.github.com/repos/openai/gym/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/openai/gym/issues/85/comments","events_url":"https://api.github.com/repos/openai/gym/issues/85/events","html_url":"https://github.com/openai/gym/issues/85","id":154028590,"number":85,"title":"Python 3.5 incompatibility: no attribute 'itervalues'","user":{"login":"bartkamphorst","id":571173,"avatar_url":"https://avatars.githubusercontent.com/u/571173?v=3","gravatar_id":"","url":"https://api.github.com/users/bartkamphorst","html_url":"https://github.com/bartkamphorst","followers_url":"https://api.github.com/users/bartkamphorst/followers","following_url":"https://api.github.com/users/bartkamphorst/following{/other_user}","gists_url":"https://api.github.com/users/bartkamphorst/gists{/gist_id}","starred_url":"https://api.github.com/users/bartkamphorst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartkamphorst/subscriptions","organizations_url":"https://api.github.com/users/bartkamphorst/orgs","repos_url":"https://api.github.com/users/bartkamphorst/repos","events_url":"https://api.github.com/users/bartkamphorst/events{/privacy}","received_events_url":"https://api.github.com/users/bartkamphorst/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jonasschneider","id":8098,"avatar_url":"https://avatars.githubusercontent.com/u/8098?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasschneider","html_url":"https://github.com/jonasschneider","followers_url":"https://api.github.com/users/jonasschneider/followers","following_url":"https://api.github.com/users/jonasschneider/following{/other_user}","gists_url":"https://api.github.com/users/jonasschneider/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasschneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasschneider/subscriptions","organizations_url":"https://api.github.com/users/jonasschneider/orgs","repos_url":"https://api.github.com/users/jonasschneider/repos","events_url":"https://api.github.com/users/jonasschneider/events{/privacy}","received_events_url":"https://api.github.com/users/jonasschneider/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-05-10T15:00:38Z","updated_at":"2016-05-16T14:11:53Z","closed_at":"2016-05-16T00:30:11Z","body":"Hi there,\r\n\r\nI was trying to run a code snippet [from the docs](https://gym.openai.com/docs) when I ran into what seems to be a compatibility issue. For completeness, here's the snippet:\r\n```python\r\nimport gym\r\nenv = gym.make('CartPole-v0')\r\nenv.reset()\r\nfor _ in xrange(1000):\r\n    env.render()\r\n    env.step(env.action_space.sample()) # take a random action\r\n```\r\nAnd here's the error I'm getting.\r\n```\r\n$ /opt/local/bin/python3.5 demo.py \r\nTraceback (most recent call last):\r\n  File \"demo.py\", line 1, in <module>\r\n    import gym\r\n  File \"/Users/bart/Documents/Programming/Python/gym/gym/__init__.py\", line 47, in <module>\r\n    from gym.scoreboard.api import upload\r\n  File \"/Users/bart/Documents/Programming/Python/gym/gym/scoreboard/__init__.py\", line 562, in <module>\r\n    registry.finalize()\r\n  File \"/Users/bart/Documents/Programming/Python/gym/gym/scoreboard/registration.py\", line 41, in finalize\r\n    registered_ids = set(env_id for group in self.groups.itervalues() for env_id in group['envs'])\r\nAttributeError: 'collections.OrderedDict' object has no attribute 'itervalues'\r\n```\r\nAs Python 3 support is experimental and you requested bug reports, I thought I'd let you know about this one.\r\n"},"comment":{"url":"https://api.github.com/repos/openai/gym/issues/comments/219434865","html_url":"https://github.com/openai/gym/issues/85#issuecomment-219434865","issue_url":"https://api.github.com/repos/openai/gym/issues/85","id":219434865,"user":{"login":"gdb","id":211857,"avatar_url":"https://avatars.githubusercontent.com/u/211857?v=3","gravatar_id":"","url":"https://api.github.com/users/gdb","html_url":"https://github.com/gdb","followers_url":"https://api.github.com/users/gdb/followers","following_url":"https://api.github.com/users/gdb/following{/other_user}","gists_url":"https://api.github.com/users/gdb/gists{/gist_id}","starred_url":"https://api.github.com/users/gdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdb/subscriptions","organizations_url":"https://api.github.com/users/gdb/orgs","repos_url":"https://api.github.com/users/gdb/repos","events_url":"https://api.github.com/users/gdb/events{/privacy}","received_events_url":"https://api.github.com/users/gdb/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T14:11:53Z","updated_at":"2016-05-16T14:11:53Z","body":"That's a compelling argument. There used to be much better reasons not to require the rendering dependencies, and I hadn't properly rechecked my assumptions. Added `pyglet` to the base dependencies!"}}