I installed the pandas package and I'm still getting the same error: No module named 'pandas'
not sure if this will help but in the command prompt type pip --version check to make sure you're on a version that is fluent with pandas, don't know much about pandas but I assume you should try and do the same with pandas. My knowledge is limited but try installing on the same drive as python as this could possibly be why things are not working. 3rd sometimes I have issues with windows after installing pip packs so try restarting your pc sometimes my imports right after installing don't work and this usually fixes but only if it's truly installed where it needs to be and the version needed. Hope I could help.
input:
import pandas
output:

ModuleNotFoundError: No module named 'pandas'

I installed the package with the command line - pip3 install pandas,
my python version is 3.10.7
The source of the installed panda package:  c:\users\kfirs\appdata\local\programs\python\python310\lib\site-packages