Conda.CondaModule

The Conda module provides access to the conda packages manager to install binary dependencies of other Julia packages.

The main functions in Conda are:

  • Conda.add(package): install a package;
  • Conda.rm(package): remove (uninstall) a package;
  • Conda.update(): update all installed packages to the latest version;
  • Conda.list(): list all installed packages.
  • Conda.add_channel(channel): add a channel to the list of channels;
  • Conda.channels(): get the current list of channels;
  • Conda.rm_channel(channel): remove a channel from the list of channels;

```

Conda._get_conda_envFunction

Get a cleaned up environment

Any environment variable starting by CONDA or PYTHON will interact with the run.

Conda._install_condaFunction

Install miniconda if it hasn't been installed yet; installconda(true) installs Conda even if it has already been installed.

Conda._pipMethod

pip command to use for specified environment

Conda._quietMethod

Suppress progress bar in continuous integration environments

Conda.addFunction

Install a new package or packages.

Conda.bin_dirMethod

Prefix for the executable files installed with the packages

Conda.channelsFunction

Get the list of channels used to search packages

Conda.cleanMethod
clean(;
    debug=false, index=true, locks=false, tarballs=true, packages=true, sources=true
)

Runs conda clean -y with the specified flags.

Conda.export_listFunction
export_list(filepath, env=/juliateam/.julia/conda/3)
export_list(io, env=/juliateam/.julia/conda/3)

List all packages and write them to an export file for use the Conda.import_list

Conda.import_listFunction

" importlist(filename, env=/juliateam/.julia/conda/3, channels=String[]) importlist(io, env=/juliateam/.julia/conda/3, channels=String[])

Create a new environment with various channels and a packages list file.

Conda.lib_dirMethod

Prefix for the shared libraries installed with the packages

Conda.listFunction

List all installed packages to standard output.

Conda.parsecondaFunction

Run conda command with environment variables set and return the json output as a julia object

Conda.pip_interopFunction
pip_interop(env::Environment=/juliateam/.julia/conda/3)

Gets the pip_interop_enabled value from the conda config.

Conda.pip_interopFunction
pip_interop(bool::Bool, env::Environment=/juliateam/.julia/conda/3)

Sets the pip_interop_enabled value to bool. If true then the conda solver is allowed to interact with non-conda-installed python packages.

Conda.prefixMethod

Prefix for installation of the environment

Conda.rmFunction

Uninstall a package or packages.

Conda.runcondaFunction

Run conda command with environment variables set.

Conda.script_dirMethod

Prefix for the python scripts. On UNIX, this is the same than Conda.BINDIR

Conda.searchFunction

Search a specific version of a package

Conda.versionFunction

Get the exact version of a package as a VersionNumber.