ErrLookup › python-poetry/poetry
python-poetry/poetry
Python packaging and dependency management made easy · Python · 192 source files
Analyzed at 92b74dcfe3 on 2026-08-04. 130 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Key {'.'.join(keys)} not in config | validation | error | config, dict-config-source, property-not-found, valueerror |
| Key {'.'.join(keys)} not in config | validation | error | config, file-config-source, toml, property-not-found, valueerror |
| The command "{command_name}" already exists. | exception | error | console, command-loader, plugin, cleo, duplicate-command |
| You can only specify one package when using the --extras opt | validation | error | add-command, extras, valueerror, cli-validation |
| You can only add optional dependencies to the main group | validation | error | add-command, optional-dependencies, extras, dependency-groups, valueerror |
| Invalid format: {fmt} | validation | error | build-command, format, valueerror, build-formats |
| Invalid config setting format: {config_setting}. Config sett | validation | error | build-command, config-settings, valueerror, cli-validation |
| {root} is not a valid repository cache | validation | error | cache-command, path-traversal, security, valueerror |
| Add the --all option if you want to clear all cache entries | exception | warning | cache-command, runtimeerror, cli-validation, safety-guard |
| Only specifying the package name is not yet supported. Add a | exception | warning | cache-command, runtimeerror, unsupported-operation, cli-validation |
| Invalid cache key | validation | error | cache-command, valueerror, invalid-format, cli-validation |
| You can not combine a setting value with --unset | exception | warning | config-command, runtimeerror, mutually-exclusive-options, cli-validation |
| Expected a value for {setting_key} setting. | validation | error | config-command, valueerror, secrets, http-basic, pypi-token, security |
| There is no {repo_name} repository defined | validation | error | config-command, valueerror, repositories, not-found |
| There is no {setting_key} setting. | validation | error | config-command, valueerror, unknown-setting, not-found |
| You cannot remove the [repositories] section | validation | error | config-command, valueerror, repositories, protection, cli-validation |
| You must pass the url. Example: poetry config repositories.f | validation | error | config-command, valueerror, repositories, wrong-arg-count, cli-validation |
| Expected one or two arguments (username, password), got {len | validation | error | config-command, valueerror, http-basic, auth, wrong-arg-count, cli-validation |
| Expected only one argument (token), got {len(values)} | validation | error | config-command, valueerror, pypi-token, auth, wrong-arg-count, cli-validation |
| You must pass exactly 1 value | validation | error | config, certificates, cli-args |
| Invalid build config setting '{value}'. It must be a valid J | validation | error | config, build, json, pep517 |
| Setting {self.argument('key')} does not exist | validation | error | config, cli-args, validation |
| You can only pass one value. | exception | error | config, cli-args, validation |
| "{value}" is an invalid value for {key} | exception | error | config, validation, type-coercion |
| No local config file found | exception | error | config, migration, local-config |
| Discovered shell '{shell}' doesn't have an activator in virt | exception | error | virtualenv, shell, activation |
| Group(s) not found: {', '.join(message_parts)} | validation | error | dependency-groups, cli-args, validation |
| Could not find a matching version of package {name} | validation | error | dependencies, resolver, network |
| Invalid author string. Must be in the format: John Smith <jo | validation | error | init, metadata, validation |
| Invalid package definition. | validation | error | init, dependencies, validation |
| Invalid version constraint: {constraint} | validation | error | init, versioning, validation |
| Destination <fg=yellow>{path}</> exists and is not empty. Di | exception | error | new, scaffolding, filesystem |
| The following packages were not found: {', '.join(sorted(not | validation | error | remove, dependencies, validation |
| Unknown plugin group ({group}) for {name} | validation | error | plugins, entry-points, self |
| Package {package} not found | validation | error | show, lockfile, validation |
| The project's version doesn't seem to follow semver | validation | error | versioning, semver, pep440 |
| This project requires Poetry {version_constraint}, but you a | exception | error | versioning, compatibility, factory |
| At least one source must not be configured as 'explicit'. | exception | error | sources, repository-pool, factory |
| Missing [name] in source. | validation | error | sources, pyproject, factory |
| The PyPI repository cannot be configured with a custom url. | validation | error | configuration, pypi, source-repository, pyproject |
| Missing [url] in source {name!r}. | validation | error | configuration, source-repository, pyproject, validation |
| Unable to create package with no name for {root_dir} | exception | error | metadata, package-info, inspection, runtime-error |
| Unable to retrieve the package version for {name} | exception | error | metadata, package-info, inspection, versioning, runtime-error |
| Unknown metadata version: {dist.metadata_version} | validation | error | metadata, pkginfo, inspection, versioning, wheel |
| Downloaded distributions for <b>{package.pretty_name} ({pack | exception | error | checksum, integrity, lock-file, cache, installation |
| {wheel.filename} is not a supported wheel for this platform. | exception | error | wheel, platform, environment, installation, compatibility |
| Unable to parse build tag: {wheel.build_tag} | validation | error | wheel, build-tag, pep427, validation, installation |
| Package {link.url} cannot be installed in the current enviro | exception | error | environment, wheel, platform, installation, lock-file |
| No usable hash type(s) for {package} from archive {archive.n | exception | error | checksum, integrity, hash, lock-file, installation |
| Hash for {package} from archive {archive.name} not found in | exception | error | checksum, integrity, hash, cache, installation, security |
| Extra [{extra}] is not specified. | validation | error | extras, installer, pyproject, validation |
| pyproject.toml changed significantly since poetry.lock was l | validation | error | lock-file, pyproject, installer, validation |
| Attempting to write {path} outside of the target directory T | validation | critical | security, path-traversal, wheel, installation, zip-slip |
| Invalid layout | validation | error | layout, scaffolding, configuration, validation |
| Bad script ({name}): script needs to specify a function with | validation | error | scripts, editable-build, pyproject, masonry, validation |
| Unable to determine package info from path: {file_path} | exception | error | direct-origin, package-info, file-dependency, archive, runtime-error |
| Unsupported VCS dependency {vcs} | validation | error | vcs, direct-origin, git, dependency, validation |
| No lockfile found. Unable to read locked packages | exception | error | lockfile, setup, poetry |
| Unable to read the lock file ({e}). | exception | error | lockfile, toml, parsing |
| The lock file does not have a metadata entry. Regenerate the | exception | error | lockfile, metadata, version |
| The lock file is not compatible with the current version of | exception | error | lockfile, version, compatibility |
| The lock file is not compatible with the current version of | exception | error | lockfile, version, compatibility, upgrade |
| The Poetry plugin must be an instance of Plugin or Applicati | validation | error | plugin, type-check, internal-api |
| Failed to install required Poetry plugins | exception | error | plugin, install, project-plugins, network |
| Repository {repository_name} is not defined | exception | error | publishing, config, repository |
| Archive ({file}) does not exist | exception | error | publishing, file, archive, build |
| Redirects are not supported. Is the URL missing a trailing s | http | error | publishing, network, url, redirect |
| HTTP Error {e.response.status_code}: {e.response.reason} | { | http | error | publishing, network, http, authentication |
| Error connecting to repository | http | error | publishing, network, connection, proxy |
| Unknown distribution format {exts} | validation | error | publishing, archive, format, build |
| METADATA not found in wheel | exception | error | publishing, wheel, metadata, build |
| PKG-INFO not found in sdist | exception | error | publishing, sdist, metadata, build |
| Unsupported file type: {file} | validation | error | publishing, archive, format, internal-api |
| The dependency name for {dependency.name} does not match the | exception | error | dependency, puzzle, naming, resolver |
| {dependency}: unknown direct dependency type {dependency.sou | exception | error | dependency, puzzle, source-type, resolver, internal-api |
| Incompatible constraints in requirements of {package}: {cons | exception | error | dependency, puzzle, constraints, resolver, source |
| Because {root}, version solving failed. | exception | error | dependency-resolution, solver, unsatisfiable |
| No valid distribution links found for package: "{data.name}" | exception | error | repository, distribution, package-not-found, yanked |
| Could not determine a hash for any distribution link of pack | exception | error | repository, hash, security, integrity, fips |
| {e} | http | error | network, http, repository, status-code |
| Package [{name}] not found. | exception | error | repository, package-not-found, auth, http |
| The name [pypi] is reserved for repositories | validation | error | repository, config, validation, reserved-name |
| Package [{name}] not found. | exception | error | pypi, package-not-found, typo |
| Package {name} ({version}) not found. | exception | error | repository, package-not-found, lockfile |
| Repository "{name}" does not exist. | exception | error | repository-pool, config, source-name |
| A repository with name {repository_name} was already added. | validation | error | repository-pool, config, duplicate |
| RepositoryPool can not remove unknown repository '{name}'. | exception | error | repository-pool, lifecycle, validation |
| Package {name} ({version}) not found. | exception | error | repository-pool, package-not-found |
| Package [{name}] not found. | exception | error | repository, single-page, package-not-found, auth |
| Invalid TOML file {self.path.as_posix()}: {e} | exception | error | toml, config, parse-error, pyproject |
| Failed HTTP request: {method.upper()} {url} | http | error | network, http, authenticator, unreachable, bug |
| FileCache.hash_type is unknown value: '{self.hash_type}'. | validation | error | cache, config, validation, hash |
| Invalid dependency specification: {requirement} | validation | error | dependency, parse-error, pep508, config |
| embedded {distribution} wheel not found | exception | error | environment, virtualenv, pip, embedded-wheel |
| Command {e.cmd} errored with the following return code {e.re | exception | error | subprocess, virtualenv, env-command, pip |
| Could not find the python executable {expected} | exception | error | python-version, env-use, interpreter, activation |
| Env {env_name} doesn't belong to this project. | exception | error | env-remove, project-ownership, virtualenv, safety-guard |
| Command {e.cmd} errored with the following return code {e.re | exception | error | env-remove, subprocess, interpreter, broken-binary |
| <warning>Environment "{python}" does not exist.</warning> | exception | warning | env-remove, missing-env, virtualenv, no-op |
| <warning>Environment "{name}" does not exist.</warning> | exception | warning | env-remove, missing-env, virtualenv, no-op |
| Current Python version ({given}) is not allowed by the proje | validation | error | python-constraint, create-venv, activation, pyproject |
| The specified Python version ({given}) is not supported by t | validation | error | python-constraint, env-use, create-venv, pyproject |
| Invalid template variable '{e.args[0]}' in 'virtualenvs.prom | console | error | config, virtualenvs-prompt, template, formatting |
| Invalid template string in 'virtualenvs.prompt' setting: {e} | console | error | config, virtualenvs-prompt, template, formatting, syntax |
| No suitable standalone build found for the requested Python | exception | error | python-install, python-build-standalone, version, download |
| One or more installed version do not work on your system. Th | console | error | python-install, broken-binary, platform-deps, python-build-standalone |
| Failed to download and install requested version of Python. | exception | error | python-install, download, extraction, python-build-standalone |
| Poetry was unable to find a compatible version. If you have | exception | error | python-constraint, compatibility, interpreter, pyproject |
| {path} is not relative to any discovered {site_type}sites | validation | error | site-packages, absolute-path, filesystem, virtualenv |
| Unable to find a suitable destination for "{path}" in {paths | exception | error | site-packages, empty-candidates, strict, filesystem |
| Unable to access any of {paths_csv(candidates)} | exception | error | site-packages, permissions, filesystem, io-error |
| Specified path '{path}' is not a valid {'directory' if is_di | validation | error | path-validation, filesystem, precondition, helpers |
| Refusing to extract {member.name}: would write outside {dest | validation | error | security, tar, path-traversal, archive, extraction |
| Refusing symlink {member.name}: target {member.linkname} out | validation | error | security, tar, symlink, path-traversal, archive |
| Refusing hardlink {member.name}: target {member.linkname} ou | validation | error | security, tar, hardlink, path-traversal, archive |
| module {__name__!r} has no attribute {name!r} | exception | error | import, deprecation, attribute-error, refactoring |
| Failed to install {requirements}. | exception | error | build, pep517, isolated-build, dependencies, installer |
| PEP517 build of a dependency failed | exception | error | pep517, build-backend, wheel, isolated-build, sdist |
| Unable to retrieve the password for {name} from the key ring | exception | error | keyring, credentials, authentication, os-integration |
| Unable to store the password for {name} in the key ring: {e} | exception | error | keyring, credentials, authentication, persistence |
| Unable to delete the password for {name} from the key ring | exception | warning | keyring, credentials, cleanup, authentication |
| Access to keyring was requested, but it is not available | exception | error | keyring, configuration, availability, authentication |
| Cannot install non directory dependencies in editable mode | exception | error | pip, install, editable, packaging |
| Failed to install {path} | exception | error | pip, install, packaging, dependencies |
| {filename} is not a valid wheel filename. | exception | error | wheel, packaging, pep427, validation |
| <error>Failed to clone <info>{url}</>, check your git config | exception | error | git, vcs, clone, authentication, network |
| <error>Failed to checkout {url} at '{revision}'.</> | exception | error | git, vcs, checkout, revision |
| <error>Failed to clone {url} at '{refspec.key}', verify ref | exception | error | git, vcs, dulwich, revision, clone |
| <error>Failed to clone {url} at '{refspec.key}', unable to a | exception | error | git, vcs, file-lock, concurrency, dulwich |
| Invalid Git parameter: {parameter} | exception | error | git, vcs, security, injection, validation |