Commits

RogerHaase  committed 90a17c8

fix #379 part 2, replace traceback with error message

  • Participants
  • Parent commits 783cfc8

Comments (0)

Files changed (1)

File quickinstall.py

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