virtualenv_create_win: Create Python virtual environment

View source: R/virtualenvs.R

virtualenv_create_winR Documentation

Create Python virtual environment

Description

virtualenv_create_win creates a new Python virtual environment and installs updated versions of pip, setuptools, and wheel in addition to any other user-provided packages that are available on PyPI.

Usage

virtualenv_create_win(envdir, envname, packages = NULL)

Arguments

envdir

Directory to create virtual environment within.

envname

Name of new virtual environment.

packages

Additional python packages to install. When NULL, pip, setuptools, and wheel are all installed by default.

Value

NULL. Called for side effects.

Examples

## Not run: 
  virtualenv_create_win("~/.venv/", "foo-bar", c("numpy", "pandas"))

## End(Not run)


dmolitor/dmolitorUtils documentation built on Sept. 24, 2022, 6 a.m.