Exception: FormulaAmbiguousPythonError Private
- Defined in:
- exceptions.rb
Overview
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Raise when two Python versions are detected simultaneously.
Instance Method Summary collapse
- #initialize(formula) ⇒ void constructor private
Constructor Details
#initialize(formula) ⇒ void
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
584 585 586 587 588 589 590 591 592 |
# File 'exceptions.rb', line 584 def initialize(formula) super <<~EOS The version of Python to use with the virtualenv in the `#{formula.full_name}` formula cannot be guessed automatically. If the simultaneous use of multiple Pythons is intentional, please add `:using => "python@x.y"` to 'virtualenv_install_with_resources' to resolve the ambiguity manually. EOS end |