pypa/pip
Documented errors, page 2 of 4. Back to pypa/pip
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| typecode should be 0-127 | exception | error | msgpack, ext-type, validation, range |
| file '%r' does not exist | exception | error | filesystem, distlib, fileoperator, installation, missing-file |
| Set-valued marker can only be used with the membership form… | exception | error | markers, extras, dependency-groups, pep685, pep735 |
| Unknown license | validation | error | spdx, license, validation, packaging |
| Ill-formed name/version string | exception | error | parsing, metadata, versioning, distlib, name-version |
| resource_filename() only supported for .egg, not .zip | exception | error | pkg-resources, resources, zip, egg, extraction |
| which would be overwritten | exception | error | filesystem, distlib, fileoperator, installation, symlink |
| Bin is too large | exception | error | msgpack, serialization, data-size, vendored |
| Invalid licenseref | validation | error | spdx, license, validation, packaging |
| Can't perform this operation for unregistered loader type | exception | error | pkg-resources, resources, loader, not-implemented |
| Cannot set --user and --prefix together | exception | error | installation, scheme, argument-conflict, sysconfig |
| No such group | exception | error | python, pygments, lexer, regex, vendored |
| Tag component is not in sorted order per PEP 425 | validation | warning | packaging, tags, pep425, validation, ordering |
| No subscribers: %r | exception | error | events, pubsub, distlib, eventmixin, lifecycle |
| release must be a non-empty tuple of non-negative integers… | validation | error | version, release, packaging, pep440 |
| Cannot restore Requirement from | exception | error | packaging, requirement, pickle, serialization, compatibility |
| unable to parse machine and section information | validation | error | elf, packaging, binary-parsing, corruption, vendored |
| Cannot restore Tag from | exception | error | packaging, tags, pickle, serialization, corruption |
| invalid sysconfig.get_config_var('EXT_SUFFIX') | exception | error | packaging, tags, sysconfig, interpreter, environment |
| Double requirement given | exception | error | requirements, conflict, resolver |
| Internal Error. | exception | error | cli, pip-config, configuration, filesystem, internal-error, bug-report |
| on non-Android platforms, the api_level and abi arguments… | validation | error | packaging, tags, android, cross-compilation, platform |
| unable to parse identification | validation | error | elf, packaging, binary-parsing, file-validation, vendored |
| In --require-hashes mode, all requirements must have their… | exception | error | require-hashes, hashing, pinning, security, pip |
| Invalid wheel filename | validation | error | pylock, packaging, validation, filename, wheel |
| Cannot combine VersionRange operands with different… | validation | error | packaging, versionrange, prereleases, set-algebra, policy |
| To enable chardet encoding guessing, please install the… | exception | error | python, pygments, lexer, encoding, vendored |
| --no-binary / --only-binary option requires 1 argument. | validation | error | cli, format-control, argument-error, validation |
| {exc} | exception | error | entry-points, pkg-resources, import, attribute-error |
| List format 'freeze' cannot be used with the --outdated… | exception | error | pip, list, cli, options, format |
| Python 3.8 or later is required | exception | critical | runtime, python-version, packaging, environment |
| unrecognized capacity | validation | error | elf, packaging, binary-parsing, architecture, vendored |
| Invalid script entry point name | exception | error | security, wheel, path-traversal, entry-points |
| The tar file ( ) has a file ( ) trying to install outside… | exception | error | security, tarfile, path-traversal, extraction, installation |
| cannot create 'VersionRange' instances directly; use… | exception | error | packaging, versionrange, api-misuse, constructor |
| Requested has inconsistent : expected , but metadata has | exception | error | metadata, name-mismatch, resolver |
| Tag must have exactly three components | validation | error | packaging, tags, validation, pep425 |
| Client Error: for url | http | error | network, http, status-code, client-error |
| no lexer for filename | exception | error | pygments, lexer, filename, guess, class-not-found |
| Tag has an empty component | validation | error | packaging, tags, validation, pep425 |
| Algorithm used in hash field is not present in hashes field | validation | error | packaging, pep610, json-validation, hashes, vendored |
| invalid glob %r: mismatching set marker | exception | error | glob, distlib, filesystem, pattern-matching, brace-set |
| Unknown platform: Can not change root path prefix on… | exception | error | installation, platform, root, scheme |
| Could not install requirement | exception | error | network, http, download, proxy, pip |
| error when loading custom formatter | exception | error | python, pygments, formatter, debugging, vendored |
| Expected whitespace after 'not' | exception | error | packaging, pep508, marker, whitespace, parser, syntax-error |
| Options --outdated and --uptodate cannot be combined. | exception | error | pip, list, cli, options, mutually-exclusive |
| Unset environment variable | validation | error | platform, platformdirs, windows, environment-variables, appdata |
| Bad metadata in (invalid metadata entry 'name') | exception | error | metadata, importlib, bad-metadata, name |
| Empty label | exception | error | idna, dns, validation, malformed-input |
| Fatal Internal error [id=1]. Please report as a bug. | exception | error | pip, config, internal, bug, race-condition |
| Requested has inconsistent Name: expected , but metadata has | exception | error | metadata, name, pep658, index, validation, pip |
| Cannot determine archive format of | exception | error | archive, download, unpacking, installation, format-detection |
| pre must be a tuple of ('a'|'b'|'rc', non-negative int), got | validation | error | version, pre-release, packaging, pep440 |
| should only be used on Unix | exception | error | platform, platformdirs, windows, unix, getuid |
| Configuration file contains invalid | exception | error | pip, config, encoding, unicode, filesystem |
| used without bound function | exception | error | python, pygments, filter, validation, vendored |
| Compressed tag set would generate | validation | warning | packaging, tags, dos-guard, validation, performance |
| excclass option is not an exception class | validation | error | python, pygments, filter, validation, vendored |
| path or url must be provided | validation | error | pylock, validation, source-location |
| Expected str, Requirement, or Distribution | exception | error | pkg-resources, type-error, validation |
| Requested has inconsistent Version between its PEP 658… | exception | error | pep658, metadata, sidecar, version, index, pip |
| Key does not contain dot separated section and key. Perhaps… | exception | error | pip, config, configuration, cli, key-format |
| expected a SpecifierSet | exception | error | packaging, specifiers, type-error, api-usage |
| Invalid version | validation | error | version, type-error, packaging, pep440 |
| XMLRPC request failed | exception | error | pip, search, xmlrpc, network, pypi, deprecated |
| You must give at least one requirement to | exception | error | cli-options, requirements, command-error |
| Cannot serialize marker value containing both quote… | validation | error | packaging, markers, pep508, serialization, vendored |
| Could not find adapter for | exception | error | internal, pkg-resources, namespace-packages, adapter, importer |
| Unsupported error handling | exception | error | idna, codec, encoding, validation |
| Packages installed from PyPI cannot depend on packages… | exception | error | pip, pypi, security, dependency-confusion, direct-url |
| Unnamed requirements are not allowed as constraints | exception | error | constraints, unnamed-requirement |
| None metadata found for distribution | exception | error | metadata, pkg-resources, inconsistent, metadata-missing |
| Can not perform a '--user' install. User site-packages are… | exception | error | cli, pip-install, virtualenv, user-site, environment, usage-error |
| Exactly one of vcs_info, archive_info, dir_info must be… | validation | error | packaging, pep610, json-validation, direct-url, vendored |
| Keyring util is outdated; must be at least version 25.2.1… | exception | error | authentication, keyring, version-mismatch, subprocess |
| Editable requirements are not allowed as constraints | validation | error | pip, editable, constraint, requirements, installation |
| is not a supported wheel on this platform. | exception | error | wheel, platform, compatibility |
| SHGetKnownFolderPath returned NULL for | exception | error | python, platformdirs, windows, runtime, environment, vendored |
| Expected extra name after comma | exception | error | packaging, pep508, requirement, extras, parser, syntax-error |
| Unknown CSIDL name | validation | error | platform, platformdirs, windows, csidl, environment |
| Invalid project name | validation | error | wheel, filename, project-name, packaging, pep427 |
| No such key | exception | error | pip, config, configuration, key-not-found |
| No wheel found matching the provided tags for package | exception | error | pylock, packaging, select, wheel, tags, platform |
uninstall-distutils-installed-package Cannot uninstall | exception | error | uninstall, distutils, legacy |
| .dist-info directory | exception | error | wheel, metadata, naming, packaging, installation |
| has an invalid wheel | exception | error | wheel, metadata, pkg-resources, malformed |
| No metadata except PKG-INFO is available | exception | error | metadata, pkg-resources, file-provider, keyerror |
| no valid class found in | exception | error | python, pygments, formatter, validation, vendored |
| Could not open file | validation | error | pip, requirements-file, file-not-found, io-error, constraints |
| {e} | exception | error | pkg-resources, markers, pep508, syntax |
| Failed to build ' ' when | exception | error | build, subprocess, wheel |
| Invalid script entry point | exception | error | packaging, wheel, entry-points, scripts |
| lex() argument must be a lexer instance, not a class | validation | error | python, pygments, lexer, validation, vendored |
| The ' ' distribution was not found and is required by | exception | error | pkg-resources, missing-dependency, dependency-resolution |
| Expected end of dependency specifier | exception | error | packaging, pep508, requirement, parser, syntax-error |
| The editable requirement | exception | error | require-hashes, editable, hashing, security, pip |
uninstall-no-record-file Cannot uninstall | exception | error | uninstall, record, metadata |
connection-failed Failed to connect to | exception | error | network, connection, fallback |
| Not a package: | exception | error | namespace-packages, pkg-resources, import, module-conflict |