Exception: FormulaUnknownPythonError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- FormulaUnknownPythonError
- Defined in:
- Library/Homebrew/exceptions.rb
Overview
Raise when the Python version cannot be detected automatically.
Instance Method Summary collapse
-
#initialize(formula) ⇒ FormulaUnknownPythonError
constructor
A new instance of FormulaUnknownPythonError.
Constructor Details
#initialize(formula) ⇒ FormulaUnknownPythonError
Returns a new instance of FormulaUnknownPythonError.
363 364 365 366 367 368 369 370 371 |
# File 'Library/Homebrew/exceptions.rb', line 363 def initialize(formula) super <<~EOS The version of Python to use with the virtualenv in the `#{formula.full_name}` formula cannot be guessed automatically because a recognised Python dependency could not be found. If you are using a non-standard Python depedency, please add `:using => "[email protected]"` to `virtualenv_install_with_resources` to resolve the issue manually. EOS end |