Skip to content

Commit 22ee2b0

Browse files
committed
Language models cannot be installed via pip install, adjusting the requirements.txt accordingly
1 parent 4ae7982 commit 22ee2b0

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

install_steps.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11

22

3-
pip -r requirements.txt
3+
pip install -r requirements.txt
44

55

6+
# these language models cannot be downloaded via pip install and need to be downloaded manually using the following commands
7+
68
python -m spacy download en_core_web_sm
79
python -m spacy download en_core_web_md
810
python -m spacy download en_core_web_lg

requirements.txt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@ aiofiles>=23.1.0
33
charset-normalizer>=3.1.0
44
json_tricks>=3.17.1
55
lingua-language-detector>=2.0.2
6+
numpy<2.0.0
67
odfpy>=1.4.1
78
pandas>=2.1.4
8-
progressbar2>=4.2.0
9+
progressbar2==4.2.0
910
pympler>=1.0.1
1011
regex>=2023.3.23
11-
spacy>=3.5.4
12-
en-core-web-lg>=3.5.0
13-
en-core-web-trf>=3.5.0
14-
ru-core-news-lg>=3.5.0
12+
spacy[cuda12x]>=3.5.4
13+
# these language models cannot be downloaded via pip install and need to be downloaded manually using the commands provided in install_steps.txt
14+
# en-core-web-sm>=3.8.0
15+
# en-core-web-md>=3.8.0
16+
# en-core-web-lg>=3.8.0
17+
# en-core-web-trf>=3.8.0
18+
# ru-core-news-sm>=3.8.0
19+
# ru-core-news-md>=3.8.0
20+
# ru-core-news-lg>=3.8.0

0 commit comments

Comments
 (0)