Installation

Installing from prepackaged binaries

Official releases

Official releases of ContourPy are available from PyPI and conda-forge for Linux, macOS and Windows.

  1. To install from PyPI:

    $ pip install contourpy
    
  2. To install from conda-forge:

    $ conda install -c conda-forge contourpy
    

The only compulsory runtime dependency is NumPy.

If you want to make use of one of ContourPy’s utility renderers in the contourpy.util module you will also have to install either Matplotlib or Bokeh.

Pre-releases

Prepackaged wheels of the latest pre-release ContourPy code, at most a week old, are available as part of the Scientific Python nightly wheels service. These are intended to be used for testing and are not necessarily stable. See SPEC 4 for more details.

Installing from source

If you wish to install from source code, see the Developer guide.