summaryrefslogtreecommitdiff
path: root/docs/user_guide/installation.md
blob: 174baf3f41f18facf5520111c6ede60ddbe31b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# {fa}`download` Installation
Installation instructions:

:::{tab} Pip
Install the latest stable version from [PyPI](https://pypi.org/project/requests-cache/):
```
pip install requests-cache
```
:::
:::{tab} Conda
Or install from [conda-forge](https://anaconda.org/conda-forge/requests-cache), if you prefer:
```
conda install -c conda-forge requests-cache
```
:::
:::{tab} Pre-release
If you would like to use the latest development (pre-release) version:
```
pip install --pre requests-cache
```
:::
:::{tab} Local development
See {ref}`contributing` for setup steps for local development
:::

(requirements)=
## Requirements
You may need additional dependencies depending on which features you want to use. To install with
extra dependencies for all supported {ref}`backends` and {ref}`serializers`:
```
pip install requests-cache[all]
```

## Python Version Compatibility
The latest version of requests-cache requires **python 3.7+**. If you need to use an older version
of python, here are the latest compatible versions and their documentation pages:

* **python 2.6:** [requests-cache 0.4.13](https://requests-cache.readthedocs.io/en/v0.4.13)
* **python 2.7:** [requests-cache 0.5.2](https://requests-cache.readthedocs.io/en/v0.5.0)
* **python 3.4:** [requests-cache 0.5.2](https://requests-cache.readthedocs.io/en/v0.5.0)
* **python 3.5:** [requests-cache 0.5.2](https://requests-cache.readthedocs.io/en/v0.5.0)
* **python 3.6:** [requests-cache 0.7.4](https://requests-cache.readthedocs.io/en/v0.7.4)