I got this following error in django project.
Solution: In VSCode, go to View tab
and click on Command Pallete
search for select interpreter and then
click on Enter interpreter path and then
select Python x.x.x (global) over :)
VIDEO GUIDE: