Announcements
Hi,
How to import custom library (python) into power automate desktop?
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
You can show how you add because I have an error that I can not find the library?
PAD is using IronPython:
https://ironpython-test.readthedocs.io/en/latest/tutorial/modules.html
https://ironpython.net/documentation/dotnet/
Or use an external python runtime:
https://memotut.com/use-python-in-your-environment-from-win-automation-897db/
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.
Use the Advance option
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
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.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 223
David_MA 210 Super User 2026 Season 1
Haque 175