Skip to content

pip broken version check with Nix #2

@senges

Description

@senges

pip 22.2.2 is not able to properly identify pip executable location when installed on a separate directory (which is the case for Nix).
This is breaking any pip install.

This error has been patched on the newly released 23.0 version of pip.
This version is not yet available in Nix, I will probably submit a MR as this is a quite serious bug affecting Nix itself.

See further discussions in NixOS issue and pip issue I created to document this problem.

Known workaround for kitt

Disable pip version check using a custom env variable in your config file :

[[workspace.envs]]
name = "PIP_DISABLE_PIP_VERSION_CHECK"
value = "1"

.. or just run pip with --disable-pip-version-check flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions