I just started a new Django project and when I try to makemigratons I get an error saying that I have to install Pillow and I have already installed Pillow.
ERRORS:
shop.ProductImages.product_img: (fields.E210) Cannot use ImageField because Pillow is not installed.
HINT: Get pillow at https://pypi.python.org/pypi/Pillow or run command "pip install pillow".
When I run pip freeze I can see that Pillow is already installed:
Pillow==2.7.0
I'm using Python 3.4.3 and Django 1.8. I didn't have this problem when I was using Python 2.7.
UPDATE:
When i try to import Image from PIL outside my virtualenv everything is fine, but when I try that in virtualenv i get this:
Traceback (most recent call last):
Fille "<stdin>", line 1, in <module>
File "C:\Python27\Lib\site-packages\PIL\Image.py", line 63, in <module>
from PIL import _imaging as core
ImportError: DLL load failed: The specified module could not be found.
I have python2 installed outside my virtualenv so does this mean that python is not looking in my virtualenv\Lib\site-packages? And I have just noticed that when I run pip freeze i get a list of packages that are installed on my system and not in virualenv, also when I try to install something that is already installed on my system I have to run pip --upgrade.