unable to import Django.shortcuts
If you look in your status bar you will notice you selected your global install of Python 3.7.4 and not a virtual environment. If you click on that you can then choose your virtual environment that you installed Django into.
You selected your global install of Python 3.7.4 and not a virtual environment. If you click on that you can then choose your virtual environment that you installed Django into.
Solution 2: (open VS Code from an activated virtual environment):
- Open the terminal window
- Activate the relevant python virtual environment
- Ensure Pylint is installed within this virtual environment pipinstall pylint
- Close all instances of VS Code
- Launch VS Code from within this terminal window
(this will ensure the VS Code process will inherit all of the Virtual Env environment settings)