| 1 |
Installing |
| 2 |
========== |
| 3 |
|
| 4 |
The latest release, including binary packages for Windows, macOS and Linux, |
| 5 |
is available for download from `PyPI`_. You can also find source releases at |
| 6 |
the `Releases Page`_. |
| 7 |
|
| 8 |
You can install PyWavelets with:: |
| 9 |
|
| 10 |
pip install PyWavelets |
| 11 |
|
| 12 |
Users of the Anaconda_ Python distribution may wish to obtain pre-built |
| 13 |
Windows, Intel Linux or macOS / OSX binaries from the main or conda-forge |
| 14 |
channel:: |
| 15 |
|
| 16 |
conda install pywavelets |
| 17 |
|
| 18 |
Several Linux distributions have their own packages for PyWavelets, but these |
| 19 |
tend to be moderately out of date. Query your Linux package manager tool for |
| 20 |
``python-pywavelets``, ``python-wavelets``, ``python-pywt`` or a similar |
| 21 |
package name. |
| 22 |
|
| 23 |
|
| 24 |
Building from source |
| 25 |
-------------------- |
| 26 |
|
| 27 |
The most recent *development* version can be found on GitHub at |
| 28 |
https://github.com/PyWavelets/pywt. |
| 29 |
|
| 30 |
The latest release, is available for download from `PyPI`_ or on the |
| 31 |
`Releases Page`_. |
| 32 |
|
| 33 |
If you want or need to install from source, you will need a working C compiler |
| 34 |
(any common one will work) and a recent version of `Cython`_. Navigate to the |
| 35 |
PyWavelets source code directory (containing ``setup.py``) and type:: |
| 36 |
|
| 37 |
pip install . |
| 38 |
|
| 39 |
The requirements needed to build from source are: |
| 40 |
|
| 41 |
- Python_ 2.7 or >=3.4 |
| 42 |
- NumPy_ >= 1.13.3 |
| 43 |
- Cython_ >= 0.23.5 (if installing from git, not from a PyPI source release) |
| 44 |
|
| 45 |
To run all the tests for PyWavelets, you will also need to install the |
| 46 |
Matplotlib_ package. If SciPy_ is available, FFT-based continuous wavelet |
| 47 |
transforms will use the FFT implementation from SciPy instead of NumPy. |
| 48 |
|
| 49 |
.. seealso:: :ref:`Development guide <dev-index>` section contains more |
| 50 |
information on building and installing from source code. |
| 51 |
|
| 52 |
.. include:: common_refs.rst |