SquirroClient Installation#

This document explains the setup of the Python SDK for Squirro (SquirroClient). It starts with the setup of Python itself, a step that is optional if you already have Python installed.

Python 3.6 (or Newer)#

First, download the latest version of Python from the official Website.

Tip: If you want to be sure you are installing a fully up-to-date version then use the “Windows Installer” link from the home page of the python.org download site.

The Windows version is provided as an MSI package. To install it manually, just double-click the file. The MSI package format allows Windows administrators to automate installation with their standard tools.

By design, Python installs to a directory with the version number embedded, e.g. Python version 3.6 will install normally in a Python36 folder under the User’s Appdata, so that you can have multiple versions of Python on the same system without conflicts.

Only one interpreter can be the default application for Python file types. You can instruct the installer to also add the newly installed Python to the PATH.

Alternatively, that can be adjusted manually. Assuming that your Python installation is in C:\Python36, add this to your PATH:

C:\Python36\;C:\Python36\Scripts\

You can do this by running the following in PowerShell:

[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python36\;C:\Python36\Scripts\", "User")

SquirroClient#

At this point, you can install the SquirroClient Python SDK.

For this, execute the following commands in the Windows command prompt:

pip install SquirroClient

To upgrade to the latest version you can run:

pip install --upgrade SquirroClient

To see which version is currently installed:

pip freeze

If pip is not an option for you, you can download and install the SquirroClient manually: