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

Do not recommend sudo pip #4175

Open
weskerfoot opened this issue May 22, 2019 · 3 comments
Open

Do not recommend sudo pip #4175

weskerfoot opened this issue May 22, 2019 · 3 comments
Labels
documentation This is a problem with documentation. feature-request A feature should be added or improved. installation p3 This is a minor priority issue v1

Comments

@weskerfoot
Copy link

weskerfoot commented May 22, 2019

https://github.com/aws/aws-cli#installation

Line 42 of the README recommends using sudo pip install awscli.

This is likely to completely break your Python installation. It is considered bad practice to mix system Python packages with ones installed via pip. This should not be recommended. --user should be recommended first. If you want to mention the possibility of installing with sudo pip then it should also be mentioned that it will cause breakage.

If the intention is to make it easy to install globally then it would be better to use something like https://appimage.org/

@JordonPhillips
Copy link
Member

How it affects your system is highly dependent on the system and how you installed python. Even when it's a problem, the problem is that you're using pip at all.

For CLI v2 we're planning on distributing standalone installers for all platforms to avoid these and other issues.

@JordonPhillips JordonPhillips added the documentation This is a problem with documentation. label May 31, 2019
kshithijiyer added a commit to kshithijiyer/aws-cli that referenced this issue Jun 7, 2019
@bengaywins
Copy link

When you say standalone installers, do we mean distro packaging via repos? Or just like the current self-contained tarball one can download for 1.x? Personally I much prefer the former rather than the latter as it now allows proper package management.

@morancj
Copy link

morancj commented Jan 15, 2020

@bengaywins I strongly agree: I've opened #4842 for the consideration of @JordonPhillips and colleagues.

@kdaily kdaily added the feature-request A feature should be added or improved. label Feb 8, 2021
@tim-finnigan tim-finnigan added v1 installation p3 This is a minor priority issue and removed v2 enhancement labels Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This is a problem with documentation. feature-request A feature should be added or improved. installation p3 This is a minor priority issue v1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants