Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Windows Store installation of Python adds a pip.ini file which configures --user #103646

Closed as not planned
Assignees
zooba
Labels
OS-windowspendingThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or error
@pfmoore

Description

@pfmoore

Bug report

Seepypa/pip#11982 for background. Basically, pip added a mechanism for users to configure the "base" (installation-wide) settings. This mechanism picks up apip.ini file that is shipped with the Windows Store installation of Python. The problem is that the shipped config file sets the--user option globally, meaning that it gets picked up in virtual environments as well, which causes pip to fail.

IMO, the pip feature needs reconsidering, to allow for the possibility of something like this, but it's also true that we adviseagainst setting--user in configuration files. So I think the Windows Store distribution should consider other mechanisms for handling whatever issue prompted the addition of this config. If that requires changes from pip's side, please reach out - we already have a check if site-packages is writeable and we fall back to--user if it isn't, so we could definitely consider extending that check.

Linked PRs

Metadata

Metadata

Assignees

Labels

OS-windowspendingThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp