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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Run python script 3.4 ...
Power Automate
Answered

Run python script 3.4 - PAD version 2.44.46

(0) ShareShare
ReportReport
Posted on by 27

today, I have updated power automate desktop to 2.44.46.24141 version. I can see option to select python version 3.4 under 'run python script'. Is it possible to import module and run it's method? when I tried today, I get script error 'ImportError: No module named 'pyMsgBox'. 

 

Screenshot 2024-06-04 134438.png

 

  • Verified answer
    VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @Nit1 ,

     

    The best way i suggest for Python script in PAD is like create a .py file and run that python file using Run Powershell script action as shown below.

    VishnuReddy1997_0-1717570966031.png

     

    If you still have few doubts on this please follow the below link you will have the entire information.

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/install-PIL-in-python/m-p/2781149#M41473 

     

    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

     

  • NM-24071613-0 Profile Picture
    27 on at

    Thank you Vishnu. I tested above mentioned and it worked as intended.

  • akaDaniel Profile Picture
    3 on at
    Do you guys think that using Python 3.4 on PAD in 2024 is a bit outdated? Some mainstream libraries such like Pandas v2.0 doesn't support Python 3.4

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard