Installing the Python engine
In order to use Python in Workflow, the Python engine needs to be installed and registered as follows.
-
Download & install Python 3.7.9, 32bits from Python.org. Make sure to install it for all users.
-
Install PyWin32 3.7, 32bits. See Releases · mhammond/pywin32 for more information.
-
Edit your system path if the installation didn’t do it for you: go to Windows System Properties > Environment Variables; in System variables, select path, then click Edit.
-
Add C:\Python37 (this is where you installed Python; adjust the path accordingly)
-
Add C:\Python37\Scripts
-
-
Register Python by running C:\Python37\Lib\site-packages\win32comext\axscript\client\pyscript.py from the command line.
Note: This procedure has been tested successfully only with Python 3.7. Newer versions of Python have not been tested with Workflow.