fixed error thrown when virtualenv is not installed.