From d9d9632e932c6c52e2f34f043be342950dbda4a8 Mon Sep 17 00:00:00 2001 From: Seb Date: Tue, 12 Mar 2024 20:46:17 +0100 Subject: [PATCH] adding support to install on Debian 12 --- docs/install.md | 5 +++++ requirements.txt | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index 0fb5275b2..bb17e1db4 100644 --- a/docs/install.md +++ b/docs/install.md @@ -18,6 +18,11 @@ python -m unidic download ``` If you encountered issues in macOS install, try the [Docker Install](#docker-install) +#### System requirements +On Debian 12, you may need to install the following packages: +- libmecab-dev +- python3-mecab + ### Docker Install To avoid compatibility issues, for Windows users and some macOS users, we suggest to run via Docker. Ensure that [you have Docker installed](https://docs.docker.com/engine/install/). diff --git a/requirements.txt b/requirements.txt index af4cb60f3..10c0b106f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ txtsplit -torch<2.0 +torch torchaudio cached_path transformers==4.27.4 @@ -7,6 +7,7 @@ mecab-python3==1.0.5 num2words==0.5.12 unidic_lite==1.0.8 unidic==1.1.0 +fugashi mecab-python3==1.0.5 pykakasi==2.2.1 fugashi==1.3.0