Skip to content

Ignore --user in virtual environments #7164

@pradyunsg

Description

@pradyunsg

What's the problem this feature will solve?

Ensure that folks who do pip config set install.user true can continue using virtual environments without "--user isn't visible, aborting" messages. :)

Describe the solution you'd like

--user does nothing in a virtualenv that does not have system site-packages access.

Alternative Solutions

Maintain status quo. Or #7002. Or something else entirely!

Additional context

#4141 (comment) -- some past discussion.
#6984 (comment) -- a proposed way to implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automationtype: feature requestRequest for a new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions