1.1 Setting up the environment

You first need to set up your environment before using the iris.debug Python module.

iris.debug requires an existing installation of Python 2.7.* or Python 3.*. Python is available from https://www.python.org/getit.

To use iris.debug, you first need to tell the Python interpreter where to find it. Add the directory that contains iris.debug to the PYTHONPATH environment variable. For example, on Linux:

This step is done for you by the Fast Models setup scripts for Linux.

On Windows:


Alternatively, add the directory that contains iris.debug to the Python path from within your script, before importing the module, as follows:

import sys, os
sys.path.append(os.path.join(os.environ[’IRIS_HOME’], ’Python’))
import iris.debug
Non-ConfidentialPDF file icon PDF version101421_0100_01_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.