install
#
Conda package installation logic.
Core logic for conda [create|install|update|remove] commands.
See conda.cli.main_create, conda.cli.main_install, conda.cli.main_update, and conda.cli.main_remove for the entry points into this module.
Functions#
|
Validate that we are receiving at least one valid value for --name or --prefix. |
|
Ensure that the new prefix does not exist. |
|
|
|
|
|
|
|
|
|
Logic for conda install, conda update, and conda create. |
|
|
|
Attributes#
- stderrlog#
- validate_prefix_exists(prefix: str | pathlib.Path) None #
Validate that we are receiving at least one valid value for --name or --prefix.
- validate_new_prefix(dest: str, force: bool = False) str #
Ensure that the new prefix does not exist.
- clone(src_arg, dst_prefix, json=False, quiet=False, index_args=None)#
- print_activate(env_name_or_prefix)#
- get_revision(arg, json=False)#
- install(args, parser, command='install')#
Logic for conda install, conda update, and conda create.
- revert_actions(prefix, revision=-1, index=None)#
- handle_txn(unlink_link_transaction, prefix, args, newenv, remove_op=False)#