use PythonUtils, detail:https://github.com/Homebrew/homebrew/pull/27329