web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "run python script" ve...
Power Automate
Answered

"run python script" version

(3) ShareShare
ReportReport
Posted on by 6
Hello does anyone know how i can upgrade my run python script version to 3.11 of python? As of now i only have the options of using python 2.7 and 3.4
I have the same question (2)
  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Super User 2025 Season 2 on at
     

    As you mentioned, Power Automate Desktop (PAD) supports executing Python scripts using Python 3.4  and 2.7 only.

    So if we attempting to use Python 3.11 with PAD have encountered compatibility issues. 

    Recommendations:

    • If you must use Python 3.11, consider running your scripts externally and integrating them with PAD using the "Run PowerShell Script" action or similar methods. This approach allows you to execute Python 3.11 scripts outside of PAD's native environment.
    Thanks,
    Deenuji Loganathan 👩‍💻
    Power Automate Desktop Community Champion 🤖
     
  • Verified answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at
     
    As @Deenuji_Loganathan_ mentioned its better to run python scripts using Run Powershell script action. 
     
    As of my observation to execute Python script in PAD, Run Python script action is not that feasible and it only supports 3.4 and 2.7 versions and few modlues are not supporting with that action.
     
    So try this method to run the Python script using PAD.
     
    Save the Python script as .py file and use Run PowerShell Script action and pass the path as shown in below image.
     
     
    (Note:- if you got your solution you can mark as solution and gives kudos)
     
     
     
    Thanks & Regards
    Vishnu Reddy

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard