Install Python and libraries

Python can be installed on the Insight server or on a standalone host or VM.

Steps

  1. On your VM or host, download Python 3.6 or later.
  2. Choose custom installation and choose the following options. These are either necessary for proper connector script operation or are highly recommended.
    • Install launcher for all users
    • Add Python to the PATH
    • Install pip (which allows Python to install other packages)
    • Install tk/tcl and IDLE
    • Install the Python test suite
    • Install py launcher for all users
    • Associate files with Python
    • Create shortcuts for installed applications
    • Add python to environment variables
    • Precompile standard library
  3. After Python is installed, install the "requests" and "psnow" Python libraries. Run the following command: python -m pip install requests pysnow
    The command will install several files.
  4. Verify the Python libraries are installed correctly. Start Python by one of the following methods:
    • Open a cmd prompt and type python
    • On Windows, open Start and choose Python > python-<version>.exe
  5. At the Python prompt, type modules
    Python will ask you to wait a moment while it gathers a list of modules, which it will then display.