Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 2
    Do not delete /usr/local/lib/python2.7! All global python modules installed by pip live in /usr/local/lib/python2.7/dist-packages. All those modules will break! Commented Oct 6, 2016 at 6:59
  • 4
    @abhaga You should not install with pip outside of a virtualenv on any linux installation Commented Oct 6, 2016 at 7:10
  • We should also not uninstall packages by manually removing files and directories. :) These are good practices and there are always occasions when we need to break them. But it is important to know that it is not safe to remove that directory. Commented Oct 6, 2016 at 7:22
  • In my CentOS7, there are some different: 1. include should be: /usr/local/include/python2.7 , without bin; 2. man file is /usr/local/share/man/man1/python2.7.1 ; 3. Another file: /usr/local/bin/python2.7-config Commented Mar 23, 2018 at 22:34