def METHOD_NAME(path: Path, pretend=False):
    import virtualenv
    args = [str(path)]
    if pretend:
        virtualenv.session_via_cli(args)
    else:
        logger.warning("\nInstalling virtual environment, it might take a while...\n")
        virtualenv.cli_run(args)
    logger.report("virtualenv", path)