{"action":"created","issue":{"url":"https://api.github.com/repos/psycopg/psycopg2/issues/288","labels_url":"https://api.github.com/repos/psycopg/psycopg2/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/psycopg/psycopg2/issues/288/comments","events_url":"https://api.github.com/repos/psycopg/psycopg2/issues/288/events","html_url":"https://github.com/psycopg/psycopg2/issues/288","id":57569150,"number":288,"title":"Cannot import Json module from psycopg2.extras.","user":{"login":"Dengjianping","id":1914204,"avatar_url":"https://avatars.githubusercontent.com/u/1914204?v=3","gravatar_id":"","url":"https://api.github.com/users/Dengjianping","html_url":"https://github.com/Dengjianping","followers_url":"https://api.github.com/users/Dengjianping/followers","following_url":"https://api.github.com/users/Dengjianping/following{/other_user}","gists_url":"https://api.github.com/users/Dengjianping/gists{/gist_id}","starred_url":"https://api.github.com/users/Dengjianping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dengjianping/subscriptions","organizations_url":"https://api.github.com/users/Dengjianping/orgs","repos_url":"https://api.github.com/users/Dengjianping/repos","events_url":"https://api.github.com/users/Dengjianping/events{/privacy}","received_events_url":"https://api.github.com/users/Dengjianping/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-13T07:44:45Z","updated_at":"2015-02-26T02:45:59Z","closed_at":"2015-02-26T02:45:59Z","body":"I got an error when I import Json module, code \"from psycopg2.extras import Json\",\r\nerror code:\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nImportError: cannot import name Json\r\n\r\nOS: ubuntu 14.04 32bit\r\nPsycopg version: 2.5.4\r\nPostgresql: 9.4\r\nPython: 2.7.6\r\nPS: But I can import this module successfully on Windows."},"comment":{"url":"https://api.github.com/repos/psycopg/psycopg2/issues/comments/76112761","html_url":"https://github.com/psycopg/psycopg2/issues/288#issuecomment-76112761","issue_url":"https://api.github.com/repos/psycopg/psycopg2/issues/288","id":76112761,"user":{"login":"Dengjianping","id":1914204,"avatar_url":"https://avatars.githubusercontent.com/u/1914204?v=3","gravatar_id":"","url":"https://api.github.com/users/Dengjianping","html_url":"https://github.com/Dengjianping","followers_url":"https://api.github.com/users/Dengjianping/followers","following_url":"https://api.github.com/users/Dengjianping/following{/other_user}","gists_url":"https://api.github.com/users/Dengjianping/gists{/gist_id}","starred_url":"https://api.github.com/users/Dengjianping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dengjianping/subscriptions","organizations_url":"https://api.github.com/users/Dengjianping/orgs","repos_url":"https://api.github.com/users/Dengjianping/repos","events_url":"https://api.github.com/users/Dengjianping/events{/privacy}","received_events_url":"https://api.github.com/users/Dengjianping/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T02:45:59Z","updated_at":"2015-02-26T02:45:59Z","body":"I'm very sorry about this, you're right, I thought I installed the latest psycopg, but actually that's 2.4.5, and after the upgrade, everything is ok now."}}