RogerHaase  committed 90a17c8

fix #379 part 2, replace traceback with error message

  • Participants
  • Parent commits 783cfc8

Comments (0)

Files changed (1)


 import os.path
 import subprocess
 import sys
-import virtualenv
+    import virtualenv
+except ImportError:
+    sys.exit("""
+Error: import virtualenv failed, either
+  virtualenv is not installed (see installation docs)
+  the virtual environment must be deactivated before rerunning
 class QuickInstall(object):