Skip to content

pip search fails [23.2.1] #12223

@ghmon

Description

@ghmon

Description

pip claims to support a "search" command when invoked without parameters or with "pip help".

"pip search " fails with:

ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search). Please use https://pypi.org/search (via a browser) instead. See https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods for more information.

Expected behavior

Either the hint to a search command should be removed, or a search command should be implemented.

pip version

23.2.1

Python version

3.10.12

OS

Ubuntu 22.04.3 LTS (up to date)

How to Reproduce

  • pip search

Output

pip search bug

ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI no longer supports 'pip search' (or XML-RPC search). Please use https://pypi.org/search (via a browser) instead. See https://warehouse.pypa.io/api-reference/xml-rpc.html#deprecated-methods for more information.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions