> For the complete documentation index, see [llms.txt](https://wiki.robmurtagh.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.robmurtagh.com/python/virtualenv.md).

# Virtualenv

## Python 3 virtual environment

```bash
virtualenv -p python3 --no-site-packages venv
```

## Activate the virtual environment

```bash
source venv/bin/activate
```
