SSIS Execute Process Task Python script

前端 未结 2 1203
走了就别回头了
走了就别回头了 2020-12-16 20:32

I\'m trying to execute a python scrip from SSIS Execute Process Task. I followed all the tutorials of how to do this an still the script is failing from the start. when i ex

相关标签:
2条回答
  • 2020-12-16 21:02

    Did you have spaces in your file path to your python script? I had the same error when trying to pass a path with spaces as my argument in Execute Script Process. The resolution was to enter the argument with quotes.

    0 讨论(0)
  • 2020-12-16 21:04

    When the process is launched from Execute Process Task step of SSIS Package, it's not being run from the same folder as the executable file (.bat, .py, .exe and so on) located. What is different from the direct file execution. And it can be especial critical in case when your executable file working with some other files in the same folder.

    So, it is necessary additionally specify working folder property of Execute Process Task step of SSIS Package.

    On your screenshot Working directory property value is empty. Put there the C:\Users\bla\blalba\bla\gender-guesser-0.4.0\test\

    0 讨论(0)
提交回复
热议问题