Hi,
I was trying to use virtualenv with scrapy for django but somehow virtualenv does not get activated. In my settings file, I added the following line to activate my virtualenv:
execfile('/home/astitwlathe/.virtualenvs/dscrapy27/bin/activate_this.py',
{'__file__': '/home/astitwlathe/.virtualenvs/dscrapy27/bin/activate_this.py'})
This command normally should activate the virtualenv, but this did not happen. I later imported django and checked its version. The version shown was not the virtualenv version django.