

def install(package_name, venv_dir):
    if (not os.path.exists(venv_dir)):
        venv_dir = create_venv()
    pip = ('%s/bin/pip' % venv_dir)
    local[pip]('install', package_name)

dataset/ETHPy150Open michaeljoseph/changes/changes/venv.py install/original