How do I uninstall PIL for python 2.7 and use Pillow instead?
<p>I have been searching for hours and can't find anything so I thought I'd ask here.</p>
<p>So my issue is with PIL and Pillow. I need to use python 2.7 as I'm using SimpleCV which isn't supported in Python 3 yet.</p>
<p>When I try to uninstall PIL using <code>sudo pip uninstall PIL</code> it outputs: <code>Cannot uninstall requirement PIL, not installed</code>.</p>
<p>This works for python 3 and allows me to use Pillow using <code>from PIL import Image</code>. If I try to use <code>import Image</code> I get an error because it doesn't exist however, for python 2.7 (the version I need to use), both <code>from PIL import Image</code> and <code>import Image</code> work making me believe PIL hasn't been uninstalled from python 2.7.</p>
<p>Am I correct in thinking that it hasn't been uninstalled for python 2.7? If so how do I uninstall it? Or is it something else?</p>
<p>Thanks in advance!</p>
<p>PS: Just in case it matters, I'm using a Raspberry Pi.</p>