https://www.ostechnix.com/install-django-web-framework-ubuntu-16-04/ https://stackoverflow.com/questions/46210934/importerror-couldnt-import-django create a folder now in cmd: go to that folder make virtual environment there: virtualenv py1 now activate the environment: .\py1\Scripts\activate then virtual env is activated: now install django python -m pip install django : to install django in project create project: django-admin startproject projectname now open project in vscode and pip install mysqlclient : to install mysql in django for going to py1 environment from cmd workon py1 DATABASES={ 'default' :{ 'ENGINE' : 'django.db.backends.mysql' , 'NAME' : 'djangoproject' , 'USER' : 'root' , 'PASSWORD' : '' , 'HOST' : 'localhost' , 'PORT' : '' } } inside settings.py write this code to connect with mysql , for that first c...