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 call Microsoft ...
Power Automate
Unanswered

How to call Microsoft Speech service in PAD

(0) ShareShare
ReportReport
Posted on by 53

1. I have a python file. It calls Microsoft Speech service to recognize local .mp4 file. The file works correct in my local computer.

2. I create a PAD flow and use "Run DOS command" action to call the python file. It fails. Below is the error:

fishscience_2_0-1694441897761.png

 

Any suggest for the issue?

 

I have the same question (0)
  • Gidi Profile Picture
    601 on at

    Hi fishscience_2,

    is there a reason not to use the ‘Run Python script’ instead?

     

    Please provide more details of the action parameters you’ve set. 

  • fishscience_2 Profile Picture
    53 on at

    the file uses Moviepy module. "Run Python script" doesn't support the module. The code is a little longer. It fails when calling Microsoft Speech service in PAD through "Run DOS command". Any suggestion?

  • Gidi Profile Picture
    601 on at

    Can you test if a batch script that starts your python script shows the same problem? If not then you can try to run this batch script instead in “Run DOS command”. 

     

    Example for executing python script in a batch file:

    c:\python27\python.exe c:\somescript.py %*

     

  • fishscience_2 Profile Picture
    53 on at

    Thank you very much! I'll try it later.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard