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

Install tools using --user when not in an environment #527

Closed
brettcannon opened this issue Jan 3, 2018 · 8 comments · Fixed by #532
Closed

Install tools using --user when not in an environment #527

brettcannon opened this issue Jan 3, 2018 · 8 comments · Fixed by #532
Assignees
Labels
feature-request Request for new features or functionality
Milestone

Comments

@brettcannon
Copy link
Member

brettcannon commented Jan 3, 2018

A problem we have run into is people trying to install tools into their global Python installation. What would be better is to install into the user directory as that doesn't require escalated privileges but is still available globally. This is only an issue when not working in a virtual or conda environment.

@brettcannon brettcannon added awaiting 1-decision feature-request Request for new features or functionality labels Jan 3, 2018
@MikhailArkhipov
Copy link

Question is if it is a shared environment and one does want global install. I could add an option to do per user or global installs (with per-user default).

@brettcannon
Copy link
Member Author

At that point I say you do the install yourself manually or whomever is managing your global install. You don't have to use the button our banner provides to do an install. And there are so many options we are just going to end up in a bottomless pit of options for installation if we try to cover everything.

@MikhailArkhipov
Copy link

MikhailArkhipov commented Jan 3, 2018

The install I am using comes with VS 2017 under Program Files which is pretty common. I am thinking about an option, like globalModuleInstalls with default to off. However, if we do want user-level only, that's fine too.

@brettcannon
Copy link
Member Author

The problem is the interpreter-level installs are definitelly not common on macOS and Linux. There's also the difference that interpreter-level installs are locked to just that interpreter while a user install would be accessible by e.g. Anaconda.

@awakenrz
Copy link

I'm on 1.22.1 but I still experience Permission denied: '/Library/Python/2.7/site-packages/isort' when trying to install pylint.

Do I need to change anything in my config?

@DonJayamanne
Copy link

This issue has been closed, please create a new issue.

@zzj0402
Copy link

zzj0402 commented May 10, 2018

The --user option still raises error

@microsoft microsoft locked as resolved and limited conversation to collaborators May 10, 2018
@brettcannon
Copy link
Member Author

@zzj0402 please open a new issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants