{"action":"created","issue":{"url":"https://api.github.com/repos/py-bson/bson/issues/40","repository_url":"https://api.github.com/repos/py-bson/bson","labels_url":"https://api.github.com/repos/py-bson/bson/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/py-bson/bson/issues/40/comments","events_url":"https://api.github.com/repos/py-bson/bson/issues/40/events","html_url":"https://github.com/py-bson/bson/issues/40","id":148789726,"number":40,"title":"pip install bson failing ","user":{"login":"kokhandiar","id":7469149,"avatar_url":"https://avatars.githubusercontent.com/u/7469149?v=3","gravatar_id":"","url":"https://api.github.com/users/kokhandiar","html_url":"https://github.com/kokhandiar","followers_url":"https://api.github.com/users/kokhandiar/followers","following_url":"https://api.github.com/users/kokhandiar/following{/other_user}","gists_url":"https://api.github.com/users/kokhandiar/gists{/gist_id}","starred_url":"https://api.github.com/users/kokhandiar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kokhandiar/subscriptions","organizations_url":"https://api.github.com/users/kokhandiar/orgs","repos_url":"https://api.github.com/users/kokhandiar/repos","events_url":"https://api.github.com/users/kokhandiar/events{/privacy}","received_events_url":"https://api.github.com/users/kokhandiar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-04-15T23:13:51Z","updated_at":"2016-07-05T13:08:43Z","closed_at":"2016-05-10T01:16:09Z","body":" import bson\r\n\r\n  File \"bson/__init__.py\", line 66, in <module>\r\n\r\n    from . import codec\r\n\r\n  File \"bson/codec.py\", line 28, in <module>\r\n\r\n    from .objects import *\r\n\r\n  File \"bson/objects.py\", line 36\r\n\r\n    class BSONObject(object, metaclass=ABCMeta):\r\n\r\nSyntaxError: invalid syntax"},"comment":{"url":"https://api.github.com/repos/py-bson/bson/issues/comments/230473119","html_url":"https://github.com/py-bson/bson/issues/40#issuecomment-230473119","issue_url":"https://api.github.com/repos/py-bson/bson/issues/40","id":230473119,"user":{"login":"DaphneHB","id":17067262,"avatar_url":"https://avatars.githubusercontent.com/u/17067262?v=3","gravatar_id":"","url":"https://api.github.com/users/DaphneHB","html_url":"https://github.com/DaphneHB","followers_url":"https://api.github.com/users/DaphneHB/followers","following_url":"https://api.github.com/users/DaphneHB/following{/other_user}","gists_url":"https://api.github.com/users/DaphneHB/gists{/gist_id}","starred_url":"https://api.github.com/users/DaphneHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaphneHB/subscriptions","organizations_url":"https://api.github.com/users/DaphneHB/orgs","repos_url":"https://api.github.com/users/DaphneHB/repos","events_url":"https://api.github.com/users/DaphneHB/events{/privacy}","received_events_url":"https://api.github.com/users/DaphneHB/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T13:08:43Z","updated_at":"2016-07-05T13:08:43Z","body":" You have a pretty simple solution there: \r\nhttp://stackoverflow.com/questions/35254975/import-error-no-module-named-bson :\r\n$ sudo apt-get purge python-pymongo \r\nthen \r\n$ sudo apt-get install python-pymongo\r\n\r\nWorks fine for me! Don't bother for the autoremove asked after the purge command."}}
{"actor":{"display_login":"DaphneHB"}}