def _create_python_virtualenv(env, venv_name, reqs_file=None, reqs_url=None):
    # First make sure virtualenv-burrito is installed
    install_venvburrito()
    activate_vburrito = ". $HOME/.venvburrito/startup.sh"

    def create():
        if "venv_directory" not in env:
            _create_global_python_virtualenv(env, venv_name, reqs_file, reqs_url)
        else:
            _create_local_python_virtualenv(env, venv_name, reqs_file, reqs_url)

    # TODO: Terrible hack here, figure it out and fix it.
    #   prefix or vburrito does not work with is_local or at least deployer+is_local
    if env.is_local:
        create()
    else:
        with prefix(activate_vburrito):
            create()
Using virtual-burrito, create a new Python virtualenv named ``venv_name``.
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/custom/shared.py/_create_python_virtualenv