Install Python version 3.5.x (32-bit)

  1. From the Python downloads page, download a version of Python to your computer or the server.

    Note

    We recommend using Python 3.5 because it has been tested and verified to work correctly with Analytics or the Robots Agent.

    Any version of Python from 3.3.x onward should also work, however we do not offer the same guarantee of testing and support as we do with version 3.5.x.

  2. On your computer or the server, double-click the installer.
  3. In the installer, select Add Python versionNumber to PATH.
  4. Click Install and follow the on-screen instructions.
  5. Reboot the computer or the server before running any Python scripts called by an Analytics script.

Set the ACLPYTHONDLL and PYTHONPATH environment variables

  1. In the C:\ drive of the operating system, create one or more folders to house your Python scripts.

    Example C:\python_scripts

  2. From the operating system, open the System Properties dialog box and click Environment Variables.
  3. In the System variables section, click New and enter the following variables:
    Variable nameVariable value
    PYTHONPATH

    The full path to the folder(s) you created to house the Python scripts. Separate multiple folder paths with a semi-colon.

    Example:

    C:\python_scripts;C:\dev;C:\tmp
    ACLPYTHONDLL

    The full path and filename of the Python DLL file in the Python installation folder that you want to use with Analytics or the Robots Agent.

    Example:

    c:\python_install\python33.dll

    If you are using Python 3.3.x, the following restrictions apply:

    • Unicode characters are not supported in the path for European platforms
    • Extended characters are not supported in the path for Asian platforms

    Note

    Python adds the DLL to the system folder (c:\windows\system32\python33.dll) rather than the installation folder. You must copy the DLL from the system folder to the installation folder, and use this as the variable value so that Analytics can access the DLL.

    You may also need to remove any read only settings from the installation folder.

    If you do not set this value, Analytics or the Robots Agent attempts to use the default supported version 3.5.x DLL python35.dll.

  4. To save the variable, click OK and then in the System Properties dialog box, click OK.