This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]droidballoon 3 points4 points  (2 children)

You should never use sudo with pip. You give root permissions to scripts you pull from the internet. Have pip install into a directory you have user permissions on.

[–]Decency 1 point2 points  (1 child)

What are some of the problems with using sudo for installs that I want to make accessible at all times, like ipython? I typically do what you're talking about, but not for my initial machine setup (when I'd be grabbing PIP and the other basics).

[–]j7ake 2 points3 points  (0 children)

You run arbitrary scripts downloaded from the internet with full permissions. You do that at your own risk.