improve virtualenv missing message (#594)

This commit is contained in:
tamarrow
2016-04-27 16:41:09 -07:00
parent b998adc6fb
commit 68d329af37

View File

@@ -315,7 +315,11 @@ def _find_virtualenv(bin_directory):
virtualenv_path = util.which('virtualenv')
if virtualenv_path is None:
raise DCOSException('Unable to find the virtualenv program')
msg = ("Unable to install CLI subcommand. "
"Missing required program 'virtualenv'.\n"
"Please see installation instructions: "
"https://virtualenv.pypa.io/en/latest/installation.html")
raise DCOSException(msg)
return virtualenv_path