Installing Python (Windows)

PureCM supports versions 2.3, 2.4 and 2.5 of Python which can be downloaded from

  1. Once downloaded, double click the executable to begin installation. As with all installations, if not signed on as an Administrator right click on the executable and use 'Run as'.
  2. Select a destination folder and press <Next> to continue.
  3. Select whether or not to backup replaced files and press <Next> to continue.
  4. Ensure all components are checked and press <Next> to continue.
  5. Choose a name for the program group and press <Next> to continue.
  6. Press <Next> to begin the installation.
  7. Press <Finish> when the installation completes.
  8. You may be prompted to reboot to complete the installation. This can be left until after the following instructions so press <Cancel>.

The Python installation folder will now need to be added to the path.

  1. In the Control Panel double click the System option (if not signed in as an Administrator, hold down the Shift key and right click System to access the 'Run as' option).
  2. On the 'Advanced' tab press the 'Environment Variables' button.
  3. In the lower pane highlight the 'Path' variable and press the 'Edit' button.
  4. In the 'Variable value' field add the installation folder, e.g. 'C:\Python23' or 'C:\Program Files\Python23', to the end of the string. Use a semi-colon to separate it from the previous value.
  5. Press <Ok> three times to close the System dialogues.
  6. Reboot the computer.

When the computer restarts, test that scripting is working in PureCM by editing the server script or a repository script. If it isn't working then try the following:

  1. From a command prompt in the Python installation folder run 'python' to ensure it installed correctly.
  2. At a command prompt run 'path' and check that the Python installation folder is present and correctly specified.
  3. Ensure that the 'Enable Python Scripting' policy is enabled in the default policyset and the 'Script Administration' policy is enabled in the current policyset.