I did not look at the details of this issue, but my former, detailed analysis of the python3-as-default situation is https://github.com/Homebrew/brew/issues/2958. Never got around to working on a fix though. I've been sporting this patch the whole time:
```diff
diff --git a/Library/Homebrew/requirements/python_requirement.rb b/Library/Homebrew/requirements/python_requirement.rb
index c162b072c9..5223455a13 100644
--- a/Library/Homebrew/requirements/python_requirement.rb
+++ b/Library/Homebrew/requirements/python_requirement.rb
@@ -46,7 +46,7 @@ class PythonRequirement < Requirement
end
def python_binary
- "python"
+ "python2.7"
end
# Deprecated
```