From 52909a87c179d06a0763fb5df02a540ec70eb0eb Mon Sep 17 00:00:00 2001 From: code-with-roz <85030845+code-with-roz@users.noreply.github.com> Date: Thu, 9 Mar 2023 10:46:43 +0200 Subject: [PATCH] Update setup by upgrading torch version to >=1.13 I have been getting this error when I try to !pip install afrolid. I think fairseq was updated ERROR: Cannot install afrolid==0.1.0 and fairseq==0.12.2 because these package versions have conflicting dependencies. The conflict is caused by: afrolid 0.1.0 depends on torch==1.11.0 fairseq 0.12.2 depends on torch>=1.13 To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9aaca93..646b530 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ install_requires=[ 'tensorboardX==2.5.1', 'regex', - 'torch==1.11.0', + 'torch>=1.13', 'sentencepiece==0.1.96', 'fairseq==0.12.2', 'tqdm==4.63.0',