catch exception if no virtualenv is installed

Added error handling for not installed python venv