{"action":"created","issue":{"url":"https://api.github.com/repos/bayespy/bayespy/issues/22","labels_url":"https://api.github.com/repos/bayespy/bayespy/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/bayespy/bayespy/issues/22/comments","events_url":"https://api.github.com/repos/bayespy/bayespy/issues/22/events","html_url":"https://github.com/bayespy/bayespy/issues/22","id":109293654,"number":22,"title":"cannot import bayespy","user":{"login":"stablum","id":2955615,"avatar_url":"https://avatars.githubusercontent.com/u/2955615?v=3","gravatar_id":"","url":"https://api.github.com/users/stablum","html_url":"https://github.com/stablum","followers_url":"https://api.github.com/users/stablum/followers","following_url":"https://api.github.com/users/stablum/following{/other_user}","gists_url":"https://api.github.com/users/stablum/gists{/gist_id}","starred_url":"https://api.github.com/users/stablum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stablum/subscriptions","organizations_url":"https://api.github.com/users/stablum/orgs","repos_url":"https://api.github.com/users/stablum/repos","events_url":"https://api.github.com/users/stablum/events{/privacy}","received_events_url":"https://api.github.com/users/stablum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-01T12:55:37Z","updated_at":"2015-10-01T13:13:35Z","closed_at":"2015-10-01T12:59:25Z","body":"Hi, as I try to import bayespy I got this error message:\r\n\r\n```python\r\n$ python2.7\r\nPython 2.7.9 (default, Apr  2 2015, 15:33:21) \r\n[GCC 4.9.2] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import bayespy\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/bayespy/__init__.py\", line 8, in <module>\r\n    from . import utils\r\n  File \"/usr/local/lib/python2.7/dist-packages/bayespy/utils/__init__.py\", line 8, in <module>\r\n    from . import misc\r\n  File \"/usr/local/lib/python2.7/dist-packages/bayespy/utils/misc.py\", line 49\r\n    def parse_command_line_arguments(mandatory_args, *optional_args_list, argv=None):\r\n                                                                             ^\r\nSyntaxError: invalid syntax\r\n>>> \r\n```"},"comment":{"url":"https://api.github.com/repos/bayespy/bayespy/issues/comments/144722597","html_url":"https://github.com/bayespy/bayespy/issues/22#issuecomment-144722597","issue_url":"https://api.github.com/repos/bayespy/bayespy/issues/22","id":144722597,"user":{"login":"stablum","id":2955615,"avatar_url":"https://avatars.githubusercontent.com/u/2955615?v=3","gravatar_id":"","url":"https://api.github.com/users/stablum","html_url":"https://github.com/stablum","followers_url":"https://api.github.com/users/stablum/followers","following_url":"https://api.github.com/users/stablum/following{/other_user}","gists_url":"https://api.github.com/users/stablum/gists{/gist_id}","starred_url":"https://api.github.com/users/stablum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stablum/subscriptions","organizations_url":"https://api.github.com/users/stablum/orgs","repos_url":"https://api.github.com/users/stablum/repos","events_url":"https://api.github.com/users/stablum/events{/privacy}","received_events_url":"https://api.github.com/users/stablum/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T13:13:34Z","updated_at":"2015-10-01T13:13:34Z","body":"ok. Is it possible to get an error message if it's imported with python 2? I am still puzzled at how i was able to succesfully install it with pip2"}}