diff --git a/Library/Homebrew/utils/pypi.rb b/Library/Homebrew/utils/pypi.rb index 567314da52..b5d77bece0 100644 --- a/Library/Homebrew/utils/pypi.rb +++ b/Library/Homebrew/utils/pypi.rb @@ -31,8 +31,8 @@ module PyPI # try and use `pip install -q --no-deps --dry-run --report ...` to get its # name and version. command = - [Formula["python"].bin/"python3", "-m", "pip", "install", "-q", "--no-deps", "--dry-run", "--ignore-installed", "--report", - "/dev/stdout", package_string] + [Formula["python"].bin/"python3", "-m", "pip", "install", "-q", "--no-deps", + "--dry-run", "--ignore-installed", "--report", "/dev/stdout", package_string] pip_output = Utils.popen_read({ "PIP_REQUIRE_VIRTUALENV" => "false" }, *command) unless $CHILD_STATUS.success? raise ArgumentError, <<~EOS