Skip to content

uv pip list does not read all system packages in sys.path and ignores system-site-packages #2500

@danielhollas

Description

@danielhollas

Executing uv pip list --system does not list any packages. Similarly for freeze and show subcommands (I did not test any others).

$ uv pip list --system -vv
 uv_interpreter::find_python::find_default_python 
      0.000148s   0ms DEBUG uv_interpreter::find_python Starting interpreter discovery for default Python
      0.000319s   0ms DEBUG uv_interpreter::interpreter Cached interpreter info for Python 3.12.2, skipping probing: /usr/bin/python3
    0.000334s DEBUG uv::commands::pip_list Using Python 3.12.2 environment at /usr/bin/python3

OS: Fedora 39, python 3.12, amd64
uv version: 0.1.21, installed via pipx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompatibilityCompatibility with a specification or another tool

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions