installation.md 438 Bytes
Newer Older
wanglch's avatar
wanglch committed
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
Installation
============

**olmocr** supports Python >= 3.8.

## Installing with `pip`

**olmocr** is available [on PyPI](https://pypi.org/project/olmocr/). Just run

```bash
pip install olmocr
```

## Installing from source

To install **olmocr** from source, first clone [the repository](https://github.com/allenai/olmocr):

```bash
git clone https://github.com/allenai/olmocr.git
cd olmocr
```

Then run

```bash
pip install -e .
```