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
You can do this by running the following in PowerShell:
[Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python36\;C:\Python36\Scripts\", "User")
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:
If pip is not an option for you, you can download and install the SquirroClient manually:
Download the package from https://pypi.python.org/pypi/SquirroClient
Extract the archive and enter the folder
Execute the following command:
python setup.py install