marshmallow requires Python >= 2.7 or >= 3.4. It has no external dependencies other than the Python standard library.
The python-dateutil package is not a hard dependency, but it is recommended for robust datetime deserialization.
$ pip install python-dateutil
Installing/Upgrading from the PyPI¶
To install the latest stable version from the PyPI:
$ pip install -U marshmallow
To install the latest pre-release version from the PyPI:
$ pip install -U marshmallow --pre
To install marshmallow with the recommended soft dependencies:
$ pip install -U marshmallow[reco]