Installing the Python engine

In order to use Python in Workflow, the Python engine needs to be installed and registered as follows.

  1. Download & install Python 3.7.9, 32bits from Python.org. Make sure to install it for all users.

  2. Install PyWin32 3.7, 32bits. See Releases · mhammond/pywin32 for more information.

  3. 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

  4. Register Python by running C:\Python37\Lib\site-packages\win32comext\axscript\client\pyscript.py from the command line.

This procedure has been tested successfully with Python 3.7.

Installers for newer versions of Python (found on Python.org) have an option "Add python.exe to PATH", making it unnecessary to edit the environment variables manually (as described in step 3 of the above procedure).
They also install pip (the package installer for Python) by default. With pip, PyWin32 can be easily installed from the command line using the following command: pip install pywin32 --upgrade.

Note: Newer versions of Python have not been tested and may not be fully compatible with Workflow.