olmocr/docs/source/installation.md

28 lines
438 B
Markdown
Raw Permalink Normal View History

2024-09-17 07:53:43 -07:00
Installation
============
**olmocr** supports Python >= 3.8.
2024-09-17 07:53:43 -07:00
## Installing with `pip`
**olmocr** is available [on PyPI](https://pypi.org/project/olmocr/). Just run
2024-09-17 07:53:43 -07:00
```bash
pip install olmocr
2024-09-17 07:53:43 -07:00
```
## Installing from source
To install **olmocr** from source, first clone [the repository](https://github.com/allenai/olmocr):
2024-09-17 07:53:43 -07:00
```bash
git clone https://github.com/allenai/olmocr.git
cd olmocr
2024-09-17 07:53:43 -07:00
```
Then run
```bash
pip install -e .
```