SAP Knowledge Base Article - Preview

2715479 - Execute Python script through exec() - Data Services

Symptom

  •  How to execute Python files by exec() command in a Designer script.
  • Script can be executed successfully by command line. 
  • Adding a Print function to trace the exec() command captured the below errors or similar:
    Error "can't open file '<directory>\python.exe: can't open file '<filepath>': [Errno 2] No Such file or directory"
    Error "command "python" or python.exe is not recognized"


Read more...

Environment

SAP Data Services

Product

SAP Data Services 4.2

Keywords

KBA , EIM-DS-EXE , Job Execution , EIM-DS , Data Services , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.