mirror of
https://github.com/allenai/olmocr.git
synced 2025-06-27 04:00:02 +00:00
28 lines
438 B
Markdown
28 lines
438 B
Markdown
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 .
|
|
```
|