Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip will install packages to user site by default #4

Closed
eight04 opened this issue Oct 21, 2019 · 2 comments · Fixed by #33
Closed

pip will install packages to user site by default #4

eight04 opened this issue Oct 21, 2019 · 2 comments · Fixed by #33

Comments

@eight04
Copy link
Owner

eight04 commented Oct 21, 2019

pypa/pip#1668
pypa/pip#7002
Investigate how does it work with venv.

@eight04 eight04 changed the title pip will install packages user site by default pip will install packages to user site by default Oct 22, 2019
@takluyver
Copy link

It should still work as before with a venv - it will only do a user install if it doesn't have write access to the site-packages directory where a normal install would go. And only if site.ENABLE_USER_SITE is true as well.

@eight04
Copy link
Owner Author

eight04 commented Feb 16, 2020

It seems that the Python installer doesn't add user-site to %PATH% if you selected Install for all users (which installs python to program files).

As the result, even if the link success, the user still can't access the CLI.

Windows 10 64bit
Python 3.8.1 32bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants