I created a virtualenv and downloaded Django with the below commands:
virtualenv tester source tester/bin/activate pip install django
and b
Those can't, and shouldn't, be fixed. Those are template files which are substituted at project creation time, and are not valid Python syntax. They shouldn't be compiled at install time but rather at project creation time.