You learned how to create a new Django project using PyCharm IDE which provides you with a ready virtual environment, however, VS Code doesn't provide that, so you have to search for:
- What is the main purpose behind using the virtual environment? answer: A virtual environment is a tool that helps to keep dependencies required by different projects separate by creating isolated python virtual environments for them. This is one of the most important tools that most of the Python developers use.
- How to create a virtual environment?