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 / Missing required depen...
Power Automate
Answered

Missing required dependencies

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I am trying to get a python script working in PAD. However it seems PAD can't find Numpy.
I have already got the script working outside PAD (VS Code using python 2.7 kernel).

This is the error I get:

Masteren_0-1635952344727.png

And this is how the script looks:
2021-11-03_16-13-41.png


Whether I fill in the Module folder paths setting or not, the error persist.

Anyone can give any pointers to a solution?

Br,
Asbjørn

  • VJR Profile Picture
    7,635 on at

    HI @Anonymous 

    Since this is not a PAD error but simply PAD runs the script and displays the error in the foreground.

    So a web search on "missing required dependencies 'numpy'" is giving a lot of results with various solutions like missing installations, reinstallations, etc. Could you try out which ones could be relevant to your situation.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @VJR 

    I am unsure what you propose I should do. As I said, the script runs fine outside of PAD (through Command Prompt), so I am pretty certain that the issue lies with PAD. My guess is how it checks for dependencies.

    If nothing else, I'll raise a ticket with MS support.

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    If it is running fine through CMD, can you have PAD run CMD instead of trying to run python script?  PADs CMD integration is top notch and I use it in almost all my flows.

  • VJR Profile Picture
    7,635 on at

    Hi @Anonymous

     

    Sorry, I missed to see that you are able to run the script outside of PAD.

     

    Suggestion from MichaelAnnis should work for you from the cmd. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    CMD indeed seems like the best solution. Would be nice if the 'Run python script' worked well, but guess we can't have it all.
    The benefit of this is that I could have made it in Python 3.X. Oh well...

    Thanks for the assistance!

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 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 202

#3
David_MA Profile Picture

David_MA 180 Super User 2026 Season 2

Last 30 days Overall leaderboard