exceptions#
Conda exceptions.
Functions#
| 
 | |
| 
 | |
| 
 | 
- exception ResolvePackageNotFound(bad_deps)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception LockError(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception ArgumentError(message, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. - return_code = 2#
 
- exception Help(message, caused_by=None, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaSignalInterrupt(signum)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception TooManyArgumentsError(expected, received, offending_arguments, optional_message='', *args)#
- Bases: - ArgumentError- Common base class for all non-exit exceptions. 
- exception ClobberError(message, path_conflict, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. - __repr__()#
- Return repr(self). 
 
- exception BasicClobberError(source_path, target_path, context)#
- Bases: - ClobberError- Common base class for all non-exit exceptions. 
- exception KnownPackageClobberError(target_path, colliding_dist_being_linked, colliding_linked_dist, context)#
- Bases: - ClobberError- Common base class for all non-exit exceptions. 
- exception UnknownPackageClobberError(target_path, colliding_dist_being_linked, context)#
- Bases: - ClobberError- Common base class for all non-exit exceptions. 
- Bases: - ClobberError- Common base class for all non-exit exceptions. 
- exception CommandNotFoundError(command)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception PathNotFoundError(path)#
- Bases: - conda.CondaError,- OSError- Common base class for all non-exit exceptions. 
- exception DirectoryNotFoundError(path)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception EnvironmentLocationNotFound(location)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception EnvironmentNameNotFound(environment_name)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception NoBaseEnvironmentError#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception DirectoryNotACondaEnvironmentError(target_directory)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaEnvironmentError(message, *args)#
- Bases: - conda.CondaError,- OSError- Common base class for all non-exit exceptions. 
- exception DryRunExit#
- Bases: - conda.CondaExitZero- Common base class for all non-exit exceptions. 
- exception CondaSystemExit(*args)#
- Bases: - conda.CondaExitZero,- SystemExit- Common base class for all non-exit exceptions. 
- exception PaddingError(dist, placeholder, placeholder_length)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception LinkError(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaOSError(message, **kwargs)#
- Bases: - conda.CondaError,- OSError- Common base class for all non-exit exceptions. 
- exception ProxyError#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaIOError(message, *args)#
- Bases: - conda.CondaError,- OSError- Common base class for all non-exit exceptions. 
- exception CondaFileIOError(filepath, message, *args)#
- Bases: - CondaIOError- Common base class for all non-exit exceptions. 
- exception CondaKeyError(key, message, *args)#
- Bases: - conda.CondaError,- KeyError- Common base class for all non-exit exceptions. 
- exception ChannelError(message, caused_by=None, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception ChannelNotAllowed(channel)#
- Bases: - ChannelError- Common base class for all non-exit exceptions. 
- Bases: - ChannelError- Common base class for all non-exit exceptions. 
- exception OperationNotAllowed(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaImportError(message)#
- Bases: - conda.CondaError,- ImportError- Common base class for all non-exit exceptions. 
- exception ParseError(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CouldntParseError(reason)#
- Bases: - ParseError- Common base class for all non-exit exceptions. 
- exception ChecksumMismatchError(url, target_full_path, checksum_type, expected_checksum, actual_checksum)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception PackageNotInstalledError(prefix, package_name)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaHTTPError(message, url, status_code, reason, elapsed_time, response=None, caused_by=None)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaSSLError(message, caused_by=None, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception AuthenticationError(message, caused_by=None, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception PackagesNotFoundError(packages, channel_urls=())#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception UnsatisfiableError(bad_deps, chains=True, strict=False)#
- Bases: - conda.CondaError- An exception to report unsatisfiable dependencies. - Parameters:
- bad_deps -- a list of tuples of objects (likely MatchSpecs). 
- chains -- (optional) if True, the tuples are interpreted as chains of dependencies, from top level to bottom. If False, the tuples are interpreted as simple lists of conflicting specs. 
 
- Returns:
- Raises an exception with a formatted message detailing the unsatisfiable specifications. 
 - _format_chain_str(bad_deps)#
 
- exception RemoveError(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception DisallowedPackageError(package_ref, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception SpecsConfigurationConflictError(requested_specs, pinned_specs, prefix)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaIndexError(message)#
- Bases: - conda.CondaError,- IndexError- Common base class for all non-exit exceptions. 
- exception CondaValueError(message, *args, **kwargs)#
- Bases: - conda.CondaError,- ValueError- Common base class for all non-exit exceptions. 
- exception CyclicalDependencyError(packages_with_cycles, **kwargs)#
- Bases: - conda.CondaError,- ValueError- Common base class for all non-exit exceptions. 
- exception CorruptedEnvironmentError(environment_location, corrupted_file, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaHistoryError(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaUpgradeError(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaVerificationError(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception SafetyError(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaMemoryError(caused_by, **kwargs)#
- Bases: - conda.CondaError,- MemoryError- Common base class for all non-exit exceptions. 
- exception NotWritableError(path, errno, **kwargs)#
- Bases: - conda.CondaError,- OSError- Common base class for all non-exit exceptions. 
- exception NoWritableEnvsDirError(envs_dirs, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception NoWritablePkgsDirError(pkgs_dirs, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception EnvironmentNotWritableError(environment_location, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaDependencyError(message)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception BinaryPrefixReplacementError(path, placeholder, new_prefix, original_data_length, new_data_length)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception InvalidSpec(message: str, **kwargs)#
- Bases: - conda.CondaError,- ValueError- Common base class for all non-exit exceptions. 
- exception InvalidVersionSpec(invalid_spec: str, details: str)#
- Bases: - InvalidSpec- Common base class for all non-exit exceptions. 
- exception InvalidMatchSpec(invalid_spec: str, details: str)#
- Bases: - InvalidSpec- Common base class for all non-exit exceptions. 
- exception EncodingError(caused_by, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception NoSpaceLeftError(caused_by, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception CondaEnvException(message, *args, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception EnvironmentFileNotFound(filename, *args, **kwargs)#
- Bases: - CondaEnvException- Common base class for all non-exit exceptions. 
- exception EnvironmentFileExtensionNotValid(filename, *args, **kwargs)#
- Bases: - CondaEnvException- Common base class for all non-exit exceptions. 
- exception EnvironmentFileEmpty(filename, *args, **kwargs)#
- Bases: - CondaEnvException- Common base class for all non-exit exceptions. 
- exception EnvironmentFileNotDownloaded(username, packagename, *args, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception SpecNotFound(msg, *args, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- exception PluginError(message, caused_by=None, **kwargs)#
- Bases: - conda.CondaError- Common base class for all non-exit exceptions. 
- maybe_raise(error, context)#
- print_conda_exception(exc_val, exc_tb=None)#
- _format_exc(exc_val=None, exc_tb=None)#