How to uninstall python jupyter correctly?
<p>I have <code>jupyter</code> installed with <code>python3.5</code> on my <em>Mac OSX</em>, but I want the <code>python2.7</code> version.  So, I basically need to uninstall the <code>3.5</code> version, and reinstall the <code>2.7</code> version.  </p>

<p>But for some reason I can't uninstall the 3.5 version.  I tried <code>sudo python3 -m pip uninstall jupyter</code>, and you can see the results below:</p>

<pre><code>✔  ~/current/directory  
20:08 $ which jupyter
/Library/Frameworks/Python.framework/Versions/3.5/bin/jupyter
✔  ~/current/directory  
20:08 $ sudo python3 -m pip uninstall jupyter
The directory '/Users/&lt;username&gt;/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Cannot uninstall requirement jupyter, not installed
The directory '/Users/&lt;username&gt;/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
✘-1  ~/current/directory  
20:09 $ which jupyter
/Library/Frameworks/Python.framework/Versions/3.5/bin/jupyter
</code></pre>

<p>...as you can see above, the <code>which jupyter</code> command still returns a valid path, AND not only that.  I'm still able to launch <code>jupyter notebook</code> from the command line, and it opens a notebook.</p>

<p>How do I correctly get rid of my existing version of <code>jupyter</code> ? OR, if someone knows how to ADD a <code>python2</code> kernel to my existing <code>jupyter</code>, that would be fine too.  Is that possible?</p>

<p>All I can think of is to manually kill the files and subfolders inside of <code>/Library/Frameworks/Python.framework/Versions/3.5/bin/</code>, but this seems unnecessarily brutal?</p>