{"action":"created","issue":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/2124","repository_url":"https://api.github.com/repos/python-pillow/Pillow","labels_url":"https://api.github.com/repos/python-pillow/Pillow/issues/2124/labels{/name}","comments_url":"https://api.github.com/repos/python-pillow/Pillow/issues/2124/comments","events_url":"https://api.github.com/repos/python-pillow/Pillow/issues/2124/events","html_url":"https://github.com/python-pillow/Pillow/issues/2124","id":178299843,"number":2124,"title":"Error: Cannot use ImageField because Pillow is not installed.","user":{"login":"petitchamp","id":1801213,"avatar_url":"https://avatars.githubusercontent.com/u/1801213?v=3","gravatar_id":"","url":"https://api.github.com/users/petitchamp","html_url":"https://github.com/petitchamp","followers_url":"https://api.github.com/users/petitchamp/followers","following_url":"https://api.github.com/users/petitchamp/following{/other_user}","gists_url":"https://api.github.com/users/petitchamp/gists{/gist_id}","starred_url":"https://api.github.com/users/petitchamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petitchamp/subscriptions","organizations_url":"https://api.github.com/users/petitchamp/orgs","repos_url":"https://api.github.com/users/petitchamp/repos","events_url":"https://api.github.com/users/petitchamp/events{/privacy}","received_events_url":"https://api.github.com/users/petitchamp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-21T09:55:35Z","updated_at":"2016-09-22T07:40:57Z","closed_at":"2016-09-22T07:40:57Z","body":"### What did you do?\r\nI made a clone of my django project and created a new virtualenv with \r\n`python -m venv waterenv`\r\n`python -m pip install -r requirement.txt`\r\n\r\nThen I ran `manage.py migrate` to create my localdb \r\n\r\n### What did you expect to happen?\r\nNo error should apprears\r\n\r\n### What actually happened?\r\nI got following error \r\n```\r\n_article.Article.photo: (fields.E210) Cannot use ImageField because Pillow is not installed.\r\n        HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command \"pip install Pillow\"._\r\n```\r\nBut when I execute `from PIL import Image` in python console , everything is ok \r\nThen I tried the same thing, i.e. `manage.py syncdb` in Pycharm with the same virtualenv, MAGIC!\r\nNo error occured . \r\nIt seems this error is only linked with windows console.\r\n\r\n### What versions of Pillow and Python are you using?\r\nWin7 64bit\r\nPython 3.5.1 64bit\r\nPillow 3.3.1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/comments/248833650","html_url":"https://github.com/python-pillow/Pillow/issues/2124#issuecomment-248833650","issue_url":"https://api.github.com/repos/python-pillow/Pillow/issues/2124","id":248833650,"user":{"login":"wiredfool","id":19792,"avatar_url":"https://avatars.githubusercontent.com/u/19792?v=3","gravatar_id":"","url":"https://api.github.com/users/wiredfool","html_url":"https://github.com/wiredfool","followers_url":"https://api.github.com/users/wiredfool/followers","following_url":"https://api.github.com/users/wiredfool/following{/other_user}","gists_url":"https://api.github.com/users/wiredfool/gists{/gist_id}","starred_url":"https://api.github.com/users/wiredfool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiredfool/subscriptions","organizations_url":"https://api.github.com/users/wiredfool/orgs","repos_url":"https://api.github.com/users/wiredfool/repos","events_url":"https://api.github.com/users/wiredfool/events{/privacy}","received_events_url":"https://api.github.com/users/wiredfool/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T07:40:57Z","updated_at":"2016-09-22T07:40:57Z","body":"You've got your virtualenvs confused -- It's not a pillow bug."}}
{"actor":{"display_login":"wiredfool"}}