Hello, I’ve installed Python 3.10.0 on Windows 10, and executed command ‘pip install libretranslate’, as was mentioned in this instruction: https://github.com/LibreTranslate/LibreTranslate
But I got the following error:
ERROR: Cannot install libretranslate==1.2.3, libretranslate==1.2.4 and libretranslate==1.2.5 because these package versions have conflicting dependencies.
The conflict is caused by:
libretranslate 1.2.5 depends on pyicu==2.7
libretranslate 1.2.4 depends on pyicu==2.7
libretranslate 1.2.3 depends on polyglot==16.7.4
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
How can I fix this issue? Thanks.
P.S. Installation from whl file libretranslate-1.2.5-py3-none-any.whl also did not help, I got more errors:
ERROR: Could not find a version that satisfies the requirement polyglot==16.7.4 (from libretranslate) (from versions: 14.11, 15.3, 15.3.5, 15.3.17, 15.4.19, 15.5.2, 15.10.3, 16.7.4)
ERROR: No matching distribution found for polyglot==16.7.4