Installation#

Installing from prepackaged binaries#

Stable releases of ContourPy are available from PyPI, conda-forge, and Anaconda default channels 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
    
  3. To install from Anaconda default channel:

    $ conda install 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.

Installing from source#

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