Conda.Conda
— ModuleThe 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_env
— FunctionGet a cleaned up environment
Any environment variable starting by CONDA or PYTHON will interact with the run.
Conda._install_conda
— FunctionInstall miniconda if it hasn't been installed yet; installconda(true) installs Conda even if it has already been installed.
Conda._installed_packages
— FunctionList all installed packages as an array.
Conda._installed_packages_dict
— FunctionList all installed packages as an dict of tuples with (version_number, fullname).
Conda._installer_url
— MethodGet the miniconda installer URL.
Conda._pip
— Methodpip command to use for specified environment
Conda._quiet
— MethodSuppress progress bar in continuous integration environments
Conda.add
— FunctionInstall a new package or packages.
Conda.add_channel
— FunctionAdd a channel to the list of channels
Conda.bin_dir
— MethodPrefix for the executable files installed with the packages
Conda.channels
— FunctionGet the list of channels used to search packages
Conda.clean
— Methodclean(;
debug=false, index=true, locks=false, tarballs=true, packages=true, sources=true
)
Runs conda clean -y
with the specified flags.
Conda.conda_rc
— MethodPath to the condarc file
Conda.exists
— FunctionCheck if a given package exists.
Conda.export_list
— Functionexport_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_list
— Function" 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_dir
— MethodPrefix for the shared libraries installed with the packages
Conda.list
— FunctionList all installed packages to standard output.
Conda.parseconda
— FunctionRun conda command with environment variables set and return the json output as a julia object
Conda.pip_interop
— Functionpip_interop(env::Environment=/juliateam/.julia/conda/3)
Gets the pip_interop_enabled
value from the conda config.
Conda.pip_interop
— Functionpip_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.prefix
— MethodPrefix for installation of the environment
Conda.python_dir
— MethodPrefix where the python
command lives
Conda.rm
— FunctionUninstall a package or packages.
Conda.rm_channel
— FunctionRemove a channel from the list of channels
Conda.runconda
— FunctionRun conda command with environment variables set.
Conda.script_dir
— MethodPrefix for the python scripts. On UNIX, this is the same than Conda.BINDIR
Conda.search
— FunctionSearch a specific version of a package
Conda.search
— FunctionSearch packages for a string
Conda.update
— FunctionUpdate all installed packages.
Conda.version
— FunctionGet the exact version of a package as a VersionNumber
.