Hacker News new | ask | show | jobs
by pirer 4809 days ago
How would you someone who has used pip with sudo undo the mess that has created in his computer?

Uninstall everything and start over?

2 comments

Just start using virtualenv for everything. By default virtualenv starts you with a clean python setup each time and nothing you've installed globally with pip will affect you.
Yeah. You can use 'pip uninstall'.
I ended doing the following for those who are in the same situation:

    pip freeze > pip_list_with_sudo.txt
    sudo pip uninstall -r pip_list_with_sudo.txt
So now let's start doing things right with virtualenv...