osx - How can I remove anything related to python aside from the default installation on os x mavericks?

07
2014-07
  • user3727514

    I have a really messed up python installation. I have the preinstalled version of python that comes with os x mavericks. then I installed the homebrew version with brew install python. Then I installed the .dmg python from python.org. Then I deleted all of my local modules in order to do testing with virtualenvs. Then I installed a few back in to make things work. Then I tried to delete the dmg and brew python with brew uninstall python and by dragging the dmg python to the trash and emptying it.

    But now there are about 80 different places on my machine with python modules or files. Trying to figure out the PYTHONPATH is a nightmare cause modules are coming from everywhere. I really just want to go back to the default version of osx python. Is there any way to do this

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    How to install LIBSVM for Python 2.65 on Mac OS X 10.6.4 Snow Leopard?
  • mkelley33

    I would prefer to install libsvm without resorting to the use of a package manager other than homebrew. Any ideas?

    Thank you, Michaux


  • Related Answers
  • Velociraptors

    Download and extract the zip or tar.gz. Run 'make' in the python directory to generate the shared library. You may need to add the location of the shared library to your path. The python modules are in the python directory. More information is found in the readme, also in the python directory.

    Alternatively, follow the directions in the readme that's in the python_old directory.

    There's also the main readme in the root of the archive.