title: How to remove all other python versions except for the one carried by the OS X
body: <p>Before asking this question, I tried a lot of methods. I mainly focus on these posts.</p>
  
  <p><a href="https://stackoverflow.com/questions/25840961/how-to-find-all-python-installations-on-mac-os-x-and-uninstall-all-but-the-nativ">How to find all python installations on mac os x and uninstall all but the native OS X installation
  </a></p>
  
  <p><a href="https://stackoverflow.com/questions/47493806/how-to-clean-ipython-environment-so-i-can-start-over-with-jupyter-and-python-3-x/52123490#52123490">How to clean iPython environment so I can start over with Jupyter and Python 3.x?
  </a></p>
  
  <p>I also tried</p>
  
  <pre><code>conda install anaconda-clean
  anaconda-clean --yes
  rm -rf ~/anaconda3
  </code></pre>
  
  <p><code>brew  cleanup python3</code></p>
  
  <p>But I still have a number of python versions left</p>
  
  <pre><code>GZs-MacBook-Pro:bin gz$ which python
  /usr/bin/python
  GZs-MacBook-Pro:bin gz$ which python3
  /usr/bin/python3
  GZs-MacBook-Pro:bin gz$ ls /System/Library/Frameworks/Python.framework/Versions
  2.3 2.5 2.6 2.7 Current
  GZs-MacBook-Pro:bin gz$ ls /Library/Frameworks/Python.framework/Versions
  ls: /Library/Frameworks/Python.framework/Versions: No such file or directory
  GZs-MacBook-Pro:bin gz$ ls -l /usr/bin/python*
  lrwxr-xr-x  1 root  wheel     75  9 Oct 23:42 /usr/bin/python -&gt; ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
  lrwxr-xr-x  1 root  wheel     82  9 Oct 23:42 /usr/bin/python-config -&gt; ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
  lrwxr-xr-x  1 root  wheel     75  9 Oct 23:42 /usr/bin/python2 -&gt; ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
  lrwxr-xr-x  1 root  wheel     75  9 Oct 23:42 /usr/bin/python2.7 -&gt; ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
  lrwxr-xr-x  1 root  wheel     82  9 Oct 23:42 /usr/bin/python2.7-config -&gt; ../../System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config
  -rwxr-xr-x  1 root  wheel  31456  5 Dec 04:32 /usr/bin/python3
  </code></pre>
  
  <p>How can I remove the others python versions except for the original one on the OS X?</p>