Colour requires various dependencies in order to run. Depending your intended use, i.e. using or developing, you may not need to install all of them. Please refer to the Installation Methods for Using Colour and Installation Methods for Developing Colour sections below.
Installation Methods for Using Colour
Colour can be easily installed from the Python Package Index by issuing this command in a shell:
This asciicast demonstrates how to generate a pristine Python VirtualEnv environment for Colour:
The optional features dependencies are installed as follows:
The development dependencies are installed as follows:
The figures plotting dependencies are installed as follows:
If you wish to read OpenEXR files, you will need to install the FreeImage plugin for Imageio as follows:
Continuum Analytics Anaconda
This asciicast demonstrates how to generate a pristine Python conda environment for Colour:
Alternatively, you can also install directly from Github source repository:
Installation Methods for Developing Colour
Colour adopts Poetry to help managing its dependencies, this is the recommended way to get started with Colour development:
$ git clone git://github.com/colour-science/colour.git $ cd colour $ poetry install --extras "graphviz optional plotting"
Those commands will create a Virtual Environment in which all the required dependencies will be installed. Tools can then be run as follows: