please help me im deadless i cant do anything im sad im mad
Videos
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
sqlalchemyandmongoenginewith 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.
To resolve the issue, perform the following steps:
- Open the Command Palette by pressing Ctrl+Shift+P on your keyboard.
- In the Command Palette, select Python: Clear Cache and Reload Window.
I'm working on a program that uses excel files, so I installed openpyxl (also pandas and rich). It worked previously (like a month or so ago) but when I went back to it today, VScode is saying that the modules can not be found and likewise python says they can not be found when I attempt to run it. I verified they are installed via pip but they still can not be found. So what's the deal? Is this a python problem or a VSCode problem?
EDIT: here is the code of the module.
I had the same problem solved using instead of pip or easy install one of the following commands :
sudo apt-get install python-openpyxl
sudo apt-get install python3-openpyxl
The sudo command also works better for other packages.
While not quite what you ran into here (since you state that you are using python 2.7), for those who run into this issue and are using python 3, you may be unintentionally installing to python 2 instead. To force the install to python 3 (instead of 2) use pip3 instead.
See this thread for more info: No module named 'openpyxl' - Python 3.4 - Ubuntu
This part is important:
If I run the file without vs code the module imports fine
If something like this happens, then you are not running the same python interpreter, because modules are always installed to specific installations of python that you have.
Do the following:
Add to your script the first two lines
import sys
print(sys.executable)
This will print the path to the python executable that is interpreting that script. If you now run this script with and without vs code, it should print two different python paths. Now you can install to the python interpreter that is being used by vs code specifically by typing
/path/to/python/used/by/vs/code/python -m pip install pillow
You may use another interpreter than the default one on Visual Studio Code. In my case, I am running python from MSYS2/MINGW64, whereas the python interpreter in VSCode was the python version installed on windows.
To overcome the issue, I set the VSCode interpreter being C:\msys64\mingw64\bin\python.exe
To set the VSCode interpreter, you can follow VSCode doc