-
Notifications
You must be signed in to change notification settings - Fork 16
venv
Sébastien Andreatta edited this page Apr 27, 2026
·
2 revisions

Interact with virtual environments created and managed by Odev.
odev venv [-v {CRITICAL,ERROR,WARNING,INFO,DEBUG,DEBUG_SQL,NOTSET}] [-h] [-f] [-V VERSION] [-c COMMAND] [-l] [-C] [-r] [-s] [name]virtualenv
| Argument | Description |
|---|---|
name |
Name of the virtual environment to activate, or a local Odoo database to select the virtual environment it is linked to. |
| Argument | Description |
|---|---|
-v, --log-level |
Set logging verbosity for the execution of odev. |
-h, --help |
Show help for the current command. |
-f, --force |
Bypass confirmation prompts and assume a default value to all, use with caution! |
-V, --version |
Python version to use for the virtual environment. |
-c, --command |
Python command to execute in the context of the virtual environment. |
-l, --list |
List virtual environments and their properties. |
-C, --create |
Create a new virtual environment. |
-r, --remove |
Remove an existing virtual environment. |
-s, --switch |
Switch the python version used by an existing virtual environment. |
odev venv --helpodev venv --listodev venv --create 18.0odev venv -c "pip list" 18.0odev venv --remove 17.0