{"action":"created","issue":{"url":"https://api.github.com/repos/SublimeLinter/SublimeLinter/issues/945","repository_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter","labels_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter/issues/945/labels{/name}","comments_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter/issues/945/comments","events_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter/issues/945/events","html_url":"https://github.com/SublimeLinter/SublimeLinter/issues/945","id":294138894,"number":945,"title":"How do I get flake8 to work with different versions of Python?","user":{"login":"deanishe","id":747913,"avatar_url":"https://avatars1.githubusercontent.com/u/747913?v=4","gravatar_id":"","url":"https://api.github.com/users/deanishe","html_url":"https://github.com/deanishe","followers_url":"https://api.github.com/users/deanishe/followers","following_url":"https://api.github.com/users/deanishe/following{/other_user}","gists_url":"https://api.github.com/users/deanishe/gists{/gist_id}","starred_url":"https://api.github.com/users/deanishe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanishe/subscriptions","organizations_url":"https://api.github.com/users/deanishe/orgs","repos_url":"https://api.github.com/users/deanishe/repos","events_url":"https://api.github.com/users/deanishe/events{/privacy}","received_events_url":"https://api.github.com/users/deanishe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-02-03T19:36:41Z","updated_at":"2018-02-04T12:02:16Z","closed_at":null,"author_association":"NONE","body":"I've tried setting `@python` to \"/usr/bin/python\" and \"2.7\", but it just uses `/usr/local/bin/flake8`, which is linked with Python 3, instead.\r\n\r\nIs there a way to tell SublimeLinter to run `/path/to/python -m flake8` instead of looking for a `flake8` command?"},"comment":{"url":"https://api.github.com/repos/SublimeLinter/SublimeLinter/issues/comments/362901616","html_url":"https://github.com/SublimeLinter/SublimeLinter/issues/945#issuecomment-362901616","issue_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter/issues/945","id":362901616,"user":{"login":"kaste","id":8558,"avatar_url":"https://avatars1.githubusercontent.com/u/8558?v=4","gravatar_id":"","url":"https://api.github.com/users/kaste","html_url":"https://github.com/kaste","followers_url":"https://api.github.com/users/kaste/followers","following_url":"https://api.github.com/users/kaste/following{/other_user}","gists_url":"https://api.github.com/users/kaste/gists{/gist_id}","starred_url":"https://api.github.com/users/kaste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaste/subscriptions","organizations_url":"https://api.github.com/users/kaste/orgs","repos_url":"https://api.github.com/users/kaste/repos","events_url":"https://api.github.com/users/kaste/events{/privacy}","received_events_url":"https://api.github.com/users/kaste/received_events","type":"User","site_admin":false},"created_at":"2018-02-04T12:02:16Z","updated_at":"2018-02-04T12:02:16Z","author_association":"CONTRIBUTOR","body":"> That means a virtual environment, right?\r\n\r\nA *real* or a *virtual* environment. \r\n\r\nYou cannot have two flake8 at the same /usr/local/bin/flake8.  If you have multiple programs with the same name on PATH, the first one wins. If you literally do python -m flake8 it will invoke the python on your PATH. But maybe you want to take a python that is actually *not* on your PATH. "}}
{"actor":{"display_login":"kaste"}}