Getting an error for missing "requests" despite being installed

I checked for the requests module and it is there but still VSCode gives me this error, what could be the issue?

PS C:\Users\UserName\Desktop\post-checks> python -m pip show requests
Name: requests
Version: 2.34.2
Summary: Python HTTP for Humans.
Home-page:
Author:
Author-email: Kenneth Reitz me@kennethreitz.org
License: Apache-2.0
Location: C:\Program Files\Python313\Lib\site-packages
Requires: certifi, charset_normalizer, idna, urllib3
Required-by: vmware-vapi-runtime
PS C:\Users\UserName\Desktop\post-checks> .\checks.py
Traceback (most recent call last):
File “C:\Users\UserName\Desktop\post-checks\checks.py”, line 1, in
import requests
ModuleNotFoundError: No module named ‘requests’

These two commands might not use the same Python interpreter. Check the shebang in checks.py: it might point to a different interpreter than the one resolved to when you type python in the command line. Try running the script with python checks.py instead.

You can also use virtual environments to prevent this kind of mismatch.

I quick way to check is to try:

python .\\checks.py

That way you’ll be using the same Python as the pip check.