pypa/pip
Documented errors, page 3 of 4. Back to pypa/pip
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| invalid magic | validation | error | elf, packaging, binary-parsing, file-format, vendored |
| path ' ' cannot end with '/ | exception | error | filesystem, paths, windows, distlib, packaging |
| Unexpected marker | exception | error | markers, internal, defensive |
| `base` parameter in `_fn` is `None`. Either override this… | exception | error | pkg-resources, resources, filesystem, loader |
| Hash values must be strings | validation | error | packaging, pep610, json-validation, hashes, vendored |
| Raw is too large | exception | error | msgpack, serialization, size-limit, string |
| is installed but is required | exception | error | pkg-resources, dependency-conflict, version-conflict |
| Invalid wheel filename (wrong number of parts) | validation | error | wheel, filename, packaging, pep427 |
| Project uses a build backend that is missing the… | exception | error | editable, pep660, build-backend |
| Could not satisfy constraints for | exception | error | constraints, path-install, resolver |
| [dependency-groups] resolution failed for | exception | error | pip, dependency-groups, pep735, pyproject, resolver |
| "os.mkdir" not supported on this platform. | exception | critical | platform, sandbox, gae, write-support, os |
| Invalid requirement | validation | error | pip, pep508, parsing, requirements, version-specifier |
| data must have bytes type | exception | error | msgpack, ext-type, type-error, bytes |
| Error decoding metadata for | exception | error | metadata, wheel, encoding, importlib |
| Error parsing entry points for | exception | error | metadata, entry-points, importlib, parsing |
invalid-pyproject-build-system-requires Can not process | validation | error | pyproject, pep518, build-system, requires, config, validation, pip |
| pip can't proceed with requirements | exception | error | build-dir, stale-state, cleanup |
| Requested has inconsistent Provides-Extra between its PEP… | exception | error | pep658, metadata, sidecar, provides-extra, index, pip |
| Invalid license expression | validation | error | packaging, spdx, pep639, license, validation, vendored |
| Invalid wheel filename (invalid tag component) | validation | error | wheel, filename, tags, packaging, pep425 |
| Expected whitespace after URL | exception | error | packaging, pep508, requirement, url, whitespace, parser |
| does not appear to be a Python project: neither 'setup.py'… | validation | error | pyproject, setup-py, build, pep518, pip |
| Configuration file could not be loaded.\n | exception | error | pip, config, parsing, syntax, ini |
| Wheel ' ' located at is invalid. | exception | error | wheel, corruption, zipfile, pkg-resources |
| error when loading custom lexer | exception | error | pygments, lexer, custom-lexer, exec-error |
| Can't perform this operation for loaders without… | exception | error | pkg-resources, resources, loader, not-implemented |
| Expected end of marker expression | exception | error | packaging, pep508, marker, parser, syntax-error |
| Got unexpected number of arguments, expected | exception | error | cli, pip-config, argument-validation, usage-error, configuration |
| Cannot restore Marker from | exception | error | pickle, markers, serialization |
| The wheel has a file trying to install outside the target… | exception | error | security, wheel, path-traversal, zip-slip |
| Can't verify hashes for these requirements because we don't… | exception | error | require-hashes, vcs, hashing, security, pip |
| [dependency-groups] data was invalid in | validation | error | pip, dependency-groups, pep735, validation, configuration |
| has no such extra feature %r | validation | error | extras, pkg-resources, dependencies, metadata |
| Could not detect requirement name for | validation | error | editable, vcs, requirement-name, pep508, validation, pip |
missing-pyproject-build-system-requires Can not process | validation | error | pyproject, pep518, build-system, requires, config, pip |
| Package requires a different Python: not in | exception | error | python-version, requires-python, resolver |
| Invalid requirement | validation | error | pip, requirements-file, optparse, options, parsing |
| Missing 'Version:' header and/or | validation | error | metadata, pkg-resources, version, distribution |
| recursively references itself in | validation | error | pip, requirements-file, circular-reference, recursion, parsing |
| Array is too large | exception | error | msgpack, serialization, size-limit, array |
| {url} | exception | error | git, vcs, remote-url, url, installation |
| Cannot set --home and --prefix together | exception | error | installation, scheme, argument-conflict, sysconfig |
| [dependency-groups] table was malformed in | validation | error | pip, dependency-groups, pep735, toml, configuration |
| is not a valid editable requirement. It should either be a… | validation | error | editable, vcs, file-url, validation, pip |
| Expected URL after @ | exception | error | packaging, pep508, requirement, url, parser, syntax-error |
| non-local file URIs are not supported on this platform | validation | error | url, file-uri, platform, windows, network-share |
| None of vcs, directory, archive must be set if sdist or… | validation | error | pylock, validation, package-source |
| uncompilable regex in state of | validation | error | python, pygments, lexer, regex, vendored |
| Unexpected file in : . .data directory contents should be… | exception | error | packaging, wheel, scheme, data-directory |
| expected VersionRange, got | exception | error | packaging, versionrange, type-error, set-algebra |
| File URL must be absolute when dir_info is present | validation | error | packaging, pep610, json-validation, direct-url, url, vendored |
| Too large data | exception | error | msgpack, ext-type, size-limit |
| Cannot find command - invalid PATH | exception | error | vcs, path, environment, git, subprocess |
| Need exactly one file to operate upon (--user, --site… | exception | error | cli, pip-config, argument-validation, configuration, usage-error |
| python_version must contain at least one item | validation | error | packaging, tags, validation, python-version |
| Version in is not consistent with package version | validation | error | pylock, packaging, validation, version, wheel |
| Target path exists but is not a directory, will not… | exception | error | cli, pip-install, filesystem, path-validation, usage-error |
| Constraints cannot have extras | exception | error | constraints, extras |
| Invalid sdist filename | validation | error | sdist, filename, packaging |
| no formatter found for file name | exception | error | python, pygments, formatter, validation, vendored |
| EntryPoint must be in 'name=module:attrs [extras]' format | validation | error | entry-points, pkg-resources, parsing, format-error |
| Can not combine '--user' and '--prefix' as they imply… | exception | error | cli, pip-install, argument-validation, mutually-exclusive-flags, usage-error |
| format() argument must be a formatter instance, not a class | validation | error | python, pygments, formatter, validation, vendored |
| Can't change extraction path, files already extracted | validation | error | pkg-resources, resources, extraction, state-error |
| Invalid build number | validation | error | wheel, filename, build-tag, packaging, pep427 |
| Multiple packages with the name | exception | error | pylock, packaging, select, naming, conflict |
| Requested has inconsistent Requires-Python between its PEP… | exception | error | pep658, metadata, sidecar, requires-python, index, pip |
| Provided environment does not satisfy any of the… | exception | error | pylock, packaging, select, environment, markers |
| Can't verify hashes for these file:// requirements because… | exception | error | require-hashes, file-url, directory, hashing, security, pip |
| cannot read | exception | error | python, pygments, formatter, filesystem, vendored |
| Entry points must be listed in groups | validation | error | entry-points, pkg-resources, metadata, section-header |
| Invalid wheel filename (extension must be '.whl') | validation | error | wheel, filename, packaging, pep427 |
| Script not found in metadata at | exception | error | pkg-resources, scripts, metadata, resolution |
| Editor Subprocess exited with exit code | exception | warning | cli, pip-config, subprocess, editor, configuration |
| no lexer matching the text found | exception | warning | pygments, lexer, text-analysis, guess, class-not-found |
| unknown command " " - maybe you meant | exception | error | cli, pip-help, command-resolution, typo, usage-error |
| 's Wheel-Version ( ) is not compatible with this version of… | exception | error | wheel, wheel-version, compatibility, upgrade, installation |
| epoch must be non-negative integer, got | validation | error | version, epoch, packaging, pep440 |
| Could not determine appropriate file. | exception | error | cli, pip-config, configuration, environment, file-resolution |
| Invalid module name | validation | error | entry-points, pkg-resources, validation, module-name |
| Multiple locked links provided for | exception | error | installation, lock-file, duplicate, resolution |
| no lexer for alias found | exception | error | python, pygments, lexer, validation, vendored |
| Cannot determine sdist filename | validation | error | pylock, sdist, validation, filename |
| Name in is not consistent with package name | validation | error | pylock, packaging, validation, naming, wheel |
| URL scheme must be file:// when dir_info is present | validation | error | packaging, pep610, json-validation, direct-url, url, vendored |
| .dist-info directory not found | exception | error | wheel, metadata, dist-info, packaging, installation |
| post must be non-negative integer, got | validation | error | version, post-release, packaging, pep440 |
| {str(e)} | validation | error | packaging, requirement, pep508, parsing |
| Badly formatted data | validation | error | svn, vcs, parsing, metadata, legacy |
| Needed a specific file to be modifying. | exception | error | pip, config, configuration, scope, cli |
| python_full_version in provided environment does not… | exception | error | pylock, packaging, python-version, select, environment |
| python_full_version in provided environment does not… | exception | error | pylock, packaging, python-version, select, package |
| Sorry, is a malformed VCS url. The format is + :// , e.g… | validation | error | vcs, url, requirements, installation, configuration |
| Invalid section heading | validation | error | metadata, pkg-resources, parsing, section-header, configparser |
| Cannot determine wheel filename | validation | error | pylock, wheel, validation, filename |
| Directory is not installable. Neither 'setup.py' nor… | validation | error | pip, directory, pyproject, setup-py, installation |
| Name is not normalized | validation | error | pylock, pep503, validation, naming |
| Requested has invalid metadata | exception | error | metadata, invalid-requirement, pep508 |
| Algorithm used in hash field has different value in hashes… | validation | error | packaging, pep610, json-validation, hashes, integrity, vendored |