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 / How to import custom l...
Power Automate
Unanswered

How to import custom library python

(0) ShareShare
ReportReport
Posted on by 10

Hi,

How to import custom library (python) into power automate desktop?

I have the same question (0)
  • fraenK Profile Picture
    2,125 on at

    https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/system#runpythonscript

    Module folder paths: The path(s) of folder(s) where external Python modules lie

  • Mican Profile Picture
    10 on at

    You can show how you add because I have an error that I can not find the library?

  • fraenK Profile Picture
    2,125 on at
  • Blakepd Profile Picture
    10 on at

    If you have IronPython downloaded and PAD pointed to the correct folder, usually here: (C:\Program Files\IronPython 2.7\Lib), just pip install whatever libraries you want and that should be sufficient. There are a few cases where some libraries are downloaded in a separate folder and it could cause some issues.

  • richgunk Profile Picture
    9 on at

    Use the Advance option

    richgunk_0-1634221027963.png

     

  • chloemaytie Profile Picture
    2 on at

    Hello,

    We tried the Advanced Option towards our libraries packages (pandas, Os, datetime) but we have the following error when running our script into the python Run script action. 

    Kind regards

    chloemaytie_0-1664439151365.png

     

  • Blakepd Profile Picture
    10 on at

    As far a I am aware I don't know if you can use Pandas or Numpy (libraries that use a lot of C-code) with IronPython 2.7. If you are looking to do this I would just use the CMD options (Open CMD Session > Write to CMD Session > Close CMD Session) to call your traditional C-Python script.

  • PADGPT Profile Picture
    2 on at

    Can you explain what you mean by "PAD pointed to the correct folder"? How do you adjust the python interpreter path that PAD uses? If I download IronPython 3.4 (which is now available in Power Automate Desktop), then where in PAD do I point it to the correct folder?

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard