4.11.2 Conda Interpreter Commands

This table lists the commands for the Conda interpreter.

Conda Interpreter Commands

Table 4-1 Conda Interpreter Commands

Tasks Commands Role
Create a Conda environment. create -n <env_name> <python_version>
  • ADMIN
Remove a list of packages from a specified conda environment. It is also an alias for conda uninstall. remove -n <env_name> --all

Note:

The Conda environment is deleted from the user session.
  • ADMIN
  • OML user
List user-created local environment. env list
  • ADMIN
  • OML user
Remove user-created local environment. env remove -n <env_name>
  • ADMIN
  • OML user
List all packages and versions installed in active environment. list
  • ADMIN
  • OML user
Activate a user-created local environment. activate -n <env_name>
  • ADMIN
  • OML user
Deactivate the current environment. deactivate
  • ADMIN
  • OML user
Install an external package from a public Conda channel. install -n <env_name> <package_name>
  • ADMIN
Uninstall a specific package from a Conda environment. It is also an alias for remove. uninstall -n <env_name> <package_name>
  • ADMIN
Display information about current conda install. info
  • ADMIN
  • OML user
View the command line help. COMMANDNAME --help
  • ADMIN
  • OML user
Upload a Conda environment to object storage.

Note:

This is an Autonomous Database specific command.
upload --overwrite <env_name> --description 'some description' -t <name> <value>

Note:

You can provide many tags. For example: -t <name1> <value1> -t <name2> <value2> ..
  • ADMIN
Download and unpack a specific Conda environment from the object storage.

Note:

This is an Autonomous Database specific command.
download --overwrite <env_name>
  • ADMIN
  • OML user
List local environments available to the user. list-local-envs
  • ADMIN
  • OML user
List all Conda environments in the object storage.

Note:

This is an Autonomous Database specific command.
list-saved-envs --installed-packages -e <env_name>
  • ADMIN
  • OML user
Delete a Conda environment.

Note:

This is an Autonomous Database specific command.
delete <env_name>

Note:

The Conda environment is deleted from the Object Storage.
  • ADMIN
Update conda packages to the latest compatible version. update
  • ADMIN
Upgrade the current conda package. It is also an alias for conda update. upgrade
  • ADMIN
Search for packages and display associated information. The input is a MatchSpec, a query language for conda packages. search
  • ADMIN
  • OML user