code_utils
autogen.code_utils.create_virtual_env
create_virtual_env
Creates a python virtual environment and returns the context.
Parameters:Name | Description |
---|---|
dir_path | Directory path where the env will be created. Type: str |
**env_args | Any extra args to pass to the EnvBuilder |
Type | Description |
---|---|
types.SimpleNamespace | SimpleNamespace: the virtual env context object. |