Skip to content

Commit 290f0da

Browse files
committed
README: recommend pinned requirements.lock.txt (Python 3.11-3.13) for tutorial installs
1 parent b5e5cc2 commit 290f0da

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ If the space is sleeping, contact me (r.beaut@sussex.ac.uk) to restart it.
5555
Run the app on your own machine to use custom GPUs, process sensitive data locally, or modify the code.
5656

5757
### Prerequisites
58-
- Python 3.9+
58+
- **Python 3.11–3.13** — recommended, and required for the pinned `requirements.lock.txt`
59+
(it ships NumPy 2.x, which needs Python ≥ 3.11). Python 3.9–3.10 still works with the
60+
flexible `requirements.txt`.
5961
- Git
6062

6163

@@ -69,8 +71,11 @@ cd MOSAICapp
6971
python3 -m venv .venv
7072
source .venv/bin/activate
7173

72-
# Install dependencies and the package
73-
pip install -r requirements.txt
74+
# Install dependencies and the package.
75+
# Recommended for tutorials — exact, tested versions (needs Python 3.11–3.13):
76+
pip install -r requirements.lock.txt
77+
# Alternative — latest compatible versions (also works on Python 3.9–3.10):
78+
# pip install -r requirements.txt
7479
pip install .
7580

7681
# Download NLTK data (required for segmentation)

0 commit comments

Comments
 (0)