Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install the downloaded whl file using pip: pip install squirro.toolbox-VERSION.compiled-py2-none-any.whl

Dependencies (Troubleshooting)

Especially on Windows, you may encounter the following error when installing:

Code Block
languagetext
…
    copying Levenshtein\_levenshtein.h -> build\lib.win32-2.7\Levenshtein
    running build_ext
    building 'Levenshtein._levenshtein' extension
    error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27

    ----------------------------------------
Command … failed with error code 1 in …\python-levenshtein\

This is because this dependency is a binary package that has be compiled. Christoph Golke maintains a great resource where he provides pre-compiled packages, so that you do not have to go through the hassle of setting up the right Python compilation environment locally. For any dependency that fails (python-levenshtein in this example) follow this process:

  1. Go to Unofficial Windows Binaries for Python Extension Packages
  2. Find the package you are looking for (python-levenshtein in the example)
  3. Download the cp27 package with the correct architecture (win32 or amd64, depending on your Python installation) - this will download a whl file
  4. Install the downloaded file with pip: pip install ….whl
  5. Try the Squirro Toolbox installation again (see above)

Usage

The Squirro toolbox contains a number of command line applications, that are used to work with a Squirro cluster. For example the Data Loader, which is used to index data in Squirro.

...