|
| 1 | +.. _installing: |
| 2 | + |
| 3 | +********** |
| 4 | +Installing |
| 5 | +********** |
| 6 | + |
| 7 | +Dependencies |
| 8 | +============ |
| 9 | + |
| 10 | +**Requirements** |
| 11 | + |
| 12 | +These are external packages which you will need to install before |
| 13 | +installing matplotlib. Windows users only need the first two (python |
| 14 | +and numpy) since the others are built into the matplotlib windows |
| 15 | +installers available for download at the sourceforge site. |
| 16 | + |
| 17 | +python 2.4 (or later but not python3) |
| 18 | + matplotlib requires python 2.4 or later |
| 19 | + |
| 20 | +numpy 1.1 (or later) |
| 21 | + array support for python |
| 22 | + |
| 23 | +libpng 1.1 (or later) |
| 24 | + library for loading and saving PNG files. libpng requires zlib. If |
| 25 | + you are a windows user, you can ignore this since we build support |
| 26 | + into the matplotlib single click installer. |
| 27 | + |
| 28 | +freetype 1.4 (or later) |
| 29 | + library for reading true type font files. If you are a windows |
| 30 | + user, you can ignore this since we build support into the |
| 31 | + matplotlib single click installer. |
| 32 | + |
| 33 | +**Optional** |
| 34 | + |
| 35 | +These are optional packages which you may want to install to use |
| 36 | +matplotlib with a user interface toolkit. See |
| 37 | +:ref:`what-is-a-backend` for more details on the optional matplotlib |
| 38 | +backends and the capabilities they provide |
| 39 | + |
| 40 | +tk 8.3 or later |
| 41 | + The TCL/Tk widgets library used by the TkAgg backend |
| 42 | + |
| 43 | +pyqt 3.1 or later |
| 44 | + The Qt3 widgets library python wrappers for the QtAgg backend |
| 45 | + |
| 46 | +pyqt 4.0 or later |
| 47 | + The Qt4 widgets library python wrappersfor the Qt4Agg backend |
| 48 | + |
| 49 | +pygtk 2.2 or later |
| 50 | + The python wrappers for the GTK widgets library for use with the GTK or GTKAgg backend |
| 51 | + |
| 52 | +wxpython 2.6 or later |
| 53 | + The python wrappers for the wx widgets library for use with the WXAgg backend |
| 54 | + |
| 55 | +wxpython 2.8 or later |
| 56 | + The python wrappers for the wx widgets library for use with the WX backend |
| 57 | + |
| 58 | +pyfltk 1.0 or later |
| 59 | + The python wrappers of the FLTK widgets library for use with FLTKAgg |
| 60 | + |
| 61 | +**Required libraries that ship with matplotlib** |
| 62 | + |
| 63 | +If you are downloading matplotlib or installing from source or |
| 64 | +subversion, you can ignore this section. This is useful for matplotlib |
| 65 | +developers and packagers who may want to disable the matplotlib |
| 66 | +version and ship a packaged version. |
| 67 | + |
| 68 | +agg2.4 |
| 69 | + The antigrain C++ rendering engine |
| 70 | + |
| 71 | +pytz 2007g or later |
| 72 | + timezone handling for python datetime objects |
| 73 | + |
| 74 | +dateutil 1.1 or later |
| 75 | + extensions to python datetime handling |
| 76 | + |
| 77 | +**Optional libraries that ship with matplotlib** |
| 78 | + |
| 79 | +As above, if you are downloading matplotlib or installing from source |
| 80 | +or subversion, you can ignore this section. This is useful for |
| 81 | +matplotlib developers and packagers who may want to disable the |
| 82 | +matplotlib version and ship a packaged version. |
| 83 | + |
| 84 | +enthought traits 2.6 |
| 85 | + The traits component of the Enthought Tool Suite used in the |
| 86 | + experimental matplotlib traits rc system. matplotlib has decided |
| 87 | + to stop installing this library so packagers should not distribute |
| 88 | + the version included with matplotlib. packagers do not need to |
| 89 | + list this as a requirement because the traits support is |
| 90 | + experimental and disabled by default. |
| 91 | + |
0 commit comments