I get this on Django version 1.10.4 in Eclipse Neon with PyDev 4.1. The reason is because the script in Preferences -> PyDev -> Interactive Console -> Initial Commands estimates the version of Django 1.10 to be less than 1.5 and executes commands for an invalid version of Django. A workaround is to remove all Django interpreter commands for the wrong version and only execute the commands for version 1.7 and higher.
source share