5.3.1.24.16.1. cli.helpers.python_setup.create_env
- cli.helpers.python_setup.create_env(py: str, env_dir: str, ver: str = '', dry_run: bool = True) None
Create a virtual environment using the selected Python executable.
- Parameters:
py – Python executable command.
env_dir – Destination directory for the virtual environment.
ver – Optional version selector argument.
dry_run – If
True, print only and do not execute.