Initializing help system before first use

# Python Developer Prerequisites

The paragraph details the conditions you must fulfill to be able to use the Insight Python module.

Users creating a Python application for Insight should have experience developing Python applications. For developing optimization models, you should have experience with an optimization package like the Xpress Optimizer Python API. The Xpress Solver Python API is documented separately here and is available through PyPI (pip) and Conda.

This guide assumes you have FICO® Xpress Insight and FICO® Xpress Workbench installed locally.
You should also:

- Be familiar with Python (at least able to read simple models.)
- Be familiar with HTML and XML. View Definition Language (VDL) is largely composed of a set of HTML extensions.
- Have some experience of programming and the usual edit-compile-run development cycles.

More advanced use of Xpress Insight will benefit from a good knowledge of JavaScript, and further experience with Python.

## Overview

The interaction between Xpress Insight and Python and how the data model is presented to the end user, can be customized using the FICO® Xpress Insight View Definition Language (VDL). The FICO® Xpress Workbench development environment comes with the View Designer, a code-free, pure drag and drop capable, wizard configuration-based experience to deploy any analytic or optimization model into a fully functional Xpress Insight application. An example of how to create and edit these VDL files in Xpress Workbench is described later in this guide.

If you are developing locally on your machine, you should have a working installation of Python 3. Xpress Insight supports Python 3.10.x - 3.14.x. For more information, see the Xpress Insight Python Reference.

You need to install FICO® Xpress v9.9.0 (including Xpress Workbench) and Xpress Insight. Both can make use of the same Python installation.

If you plan to deploy your models to a separate server running Xpress Insight, make sure that the same Python version is installed on the machine running the Xpress Insight Execution Workers.

## Software

The xpressinsight module requires you have the following software installed:

- FICO® Xpress 9.9.0 (which includes Xpress Workbench)
- Xpress Insight 5.17.1

The module supports the following Python libraries, which are typically hosted on your own on-premises infrastructure.

- pandas (versions 1.0.x to 3.0.x)
- NumPy (versions 1.17 to 2.4.x)
- Optional: Polars (versions 0.20.5 to 1.39.x)

The pandas and NumPy libraries are dependencies and are installed automatically by your package manager when you install the xpressinsight module, if you do not already have them installed. Dependencies are checked during installation and may be updated in the future.

Xpress Insight does not include Python binaries. The supported Python versions are 3.10.x - 3.14.x.

- Windows users should get the binaries from www.python.org.
  Note: If you are an advanced user and you want to use multiple Python versions on the same machine, download and install the Anaconda Python distribution from www.anaconda.com. You can also install the binaries from the Python or Anaconda website, or using Homebrew.
- Recent versions of Mac OS should have Python 3 pre-installed.

Windows users who are new to Python should install a Python version from www.python.org to make sure there is only a single version on their system. The Python installer will ask whether Python should be added to the system environment. Add Python as a system environment variable to ensure that both Xpress Workbench and the Xpress Insight Execution Worker can find the Python installation. Xpress Insight executes scenarios by sending jobs to an execution service running on an execution worker.
Note: To run Python from within Xpress Workbench, it is sufficient to add Python to the user environment variables (either in `PATH` or under `PYTHON_EXE`). However, Xpress Insight requires that it be added to the system environment.
Tip: If you have multiple Python environments installed, you can specify which environment you want to use for each project in the compiler options. For more information, see Compiler Options.

## Useful Links

The following links can be useful when following this guide.

### Documentation

- Insight 5 Python API Reference
- Xpress Workbench User Guide
- Xpress Optimizer Python Reference Manual

### Software

- Python: https://www.python.org/
- Pip: https://pip.pypa.io/en/stable/installation/
- conda: https://docs.conda.io/projects/conda/en/latest/user-guide/install/download.html

Parent Topic Set up your Insight Python Development Environment

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.