Skip to main content

Notifications

Power Automate - AI Builder
Unanswered

Integration between Python and PA at the environment configuration level

(1) ShareShare
ReportReport
Posted on by 2
Hello All
 
I installed python 3.12 and Power Automate Desktop on my device to run a python script
 
I have a python script, and it is works fine on my device. But Power Automate could not run this script because it cannot recognize the package requests. Despite the packages already installed on my device.
 
I encounter this error:
 
 
This is the script:

import requests

#import json


def main():


    print("Data formatting and transfer completed successfully.")



main()
 
How can I make Power Automate Desktop recognize the packages?
  • FLMike Profile Picture
    FLMike 31,580 on at
    Integration between Python and PA at the environment configuration level
    Hi
     
    Do you still need help?

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard