Installation#

Prerequisites#

The cherab-iter package requires Python version 3.6 or newer. cherab-iter requires the following packages for installation:

Cherab-iter also depends on the following packages for optional features:

  • imas - for IMAS module

  • pyopencl - for OpenCL tools

Warning

imas package is developed by the ITER Organization (IO), so it does not open to the public. If you would like to use imas packages, plase contact to the IO.

Installing Cherab-iter from source code#

Obtaining source code#

Before install the cherab-iter, it is required to download the source code from github repository. If you have git installed on your computer, you may clone Cherab-iter’s GitHub repository and access source code from the most recent development version by running:

git clone https://github.com/akared819/cherab_iter.git

The repository will be cloned inside a new subdirectory called cherab_iter.

Building and Installing#

In the cherab_iter directory, run

python -m pip install -e .

Where -e option enables us to build the source code just where you excute it and generate the python path into the site-package library directory.