Modules not recognized when running script windows task manager

I have a script named Sku_Matching_Salesforce.py. The location of the file is :

C:\Users\User\Desktop\Personal\DABRA\Sku_Matching_Salesforce.py

this is the VENV that is activated:

C:\Users\User\Desktop\Personal\DABRA\venv

If I run the script, it works fine, but when I run it via Windows Task Manager, it doesn't recognize Modules. I get this error message:

Traceback (most recent call last):
  File "C:\Users\User\Desktop\Personal\DABRA\Sku_Matching_Salesforce.py", line 5, in <module>
    import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'
Traceback (most recent call last):
  File "C:\Users\User\Desktop\Personal\DABRA\Sku_Matching_JFS-Beta1.py", line 5, in <module>
    import sqlalchemy
ModuleNotFoundError: No module named 'sqlalchemy'
Traceback (most recent call last):
  File "C:\Users\User\Desktop\Personal\DABRA\Sku_Matching_Solodeportes_Beta1.py", line 5, in <module>
    import sqlalchemy
ModuleNotFoundError: No module named 'sqlalchemy'
Traceback (most recent call last):
  File "C:\Users\User\Desktop\Personal\DABRA\Sku_Matching_OpenSports_Beta1.py", line 5, in <module>
    import sqlalchemy
ModuleNotFoundError: No module named 'sqlalchemy'
Traceback (most recent call last):
  File "C:\Users\User\Desktop\Personal\DABRA\Unificador_Salida_Final.py", line 6, in <module>
    import sqlalchemy
ModuleNotFoundError: No module named 'sqlalchemy'

This is how I configured the task in windows manager in "Actions" label:

Program or Script: C:\Windows\py.exe
Optional Arguments : Allscript.py (is  the file that runs the script)
Starts in : C:\Users\User\Desktop\Personal\DABRA\

I don´t know what the problem is...Could someone help me please?

Thanks in advance

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum