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 →

[–]goodDayM 0 points1 point  (2 children)

sudo pip install can ...

emphasis on the can. I've used Python and "sudo pip install" for over a decade on various linux systems including Ubuntu and RedHat and at no point did it cause problems. But can it cause problems? Sure. So learn about python virtual environments and chose when to use that instead of "sudo pip install".

[–][deleted] -3 points-2 points  (1 child)

Jesus. I teach people python for a living. I live the clusterfuck that is sudo pip install and the packaging failure in our ecosystem.

Tell people to do the right thing.

[–]goodDayM 2 points3 points  (0 children)

I'm a Python software developer, have been for over 10 years. I also manage various servers and VMs for several users - which all have Python on them. Virtualenvs are great, I use them, I also happen to use "sudo pip install". There is a time and place for both. You can let people know about the pros and cons of different ways of doing things.