
Announcements
i am trying to execute below part of my python script in power automate desktop
--------------------
# importing the pandas library
import pandas as pd
DataFile = "filepath";
#Reading Excel Files
test_data = pd.read_excel(DataFile);
-------------------------
However it is giving error "C:\Program Files\Python311\Lib\site-packages\pandas\__init__.py", line 1
from __future__ import annotations ^SyntaxError: future feature is not defined:annotations".
I tried searching on google it was showing future annotations supported for python >=3.7 and i am using python 3.11.9.
I have already given the module path in power automate desktop but still unable to resolve the error.
Also I have a doubt that in power automate desktop the option to select python version is showing 2.7 and 3.4 only and there is no option to upgrade. Is it because of that?
can anyone please help me on this? or is there any other alternative i can try (i have to use pandas only because of requirement)