I have installed Django after activating my virtualenv but still I am getting following error
from django.core.management import execute_from_command_line
Import
If you're using virtualenv, you can add it to your path using sys.path.append('./myvenv/lib/python3.5/site-packages')
.
Try closing and opening the terminal again. That worked for me too.
You should check if django is installed Activate your environment, then run the following command to see which version is installed :
python -c "import django; print(django.get_version())"