-
Open the Command Palette (Ctrl+Shift+P), then select the Python: Select Interpreter. From the list, select the virtual environment in your project folder that starts with
.env
. -
Run Terminal: Create New Integrated Terminal (Ctrl+Shift+` or from the Command Palette), which creates a terminal and automatically activates the virtual environment by running its activation script.
-
Install
sqlalchemy
andmongoengine
with commandpip install
. Once installing them successfully, there will intellisense when you import them and no warnings shown.
Besides, the folder .vscode
is to store Workspace settings as well as debugging and task configurations.