Closed Benjamin-Loison closed 3 months ago
pip install 'numpy<2.0.0'
Collecting numpy<2.0.0
Using cached numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
Using cached numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.3 MB)
Installing collected packages: numpy
Attempting uninstall: numpy
Found existing installation: numpy 2.0.0
Uninstalling numpy-2.0.0:
Successfully uninstalled numpy-2.0.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tts 0.22.0 requires gruut[de,es,fr]==2.2.3, but you have gruut 2.4.0 which is incompatible.
tts 0.22.0 requires pandas<2.0,>=1.4, but you have pandas 2.2.2 which is incompatible.
tts 0.22.0 requires torch>=2.1, but you have torch 2.0.1 which is incompatible.
gruut 2.4.0 requires dateparser~=1.1.1, but you have dateparser 1.2.0 which is incompatible.
gruut 2.4.0 requires jsonlines~=1.2.0, but you have jsonlines 4.0.0 which is incompatible.
spacy 3.7.5 requires thinc<8.3.0,>=8.2.2, but you have thinc 9.0.0 which is incompatible.
tensorboard 2.17.0 requires protobuf!=4.24.0,<5.0.0,>=3.19.6, but you have protobuf 5.27.2 which is incompatible.
rawpy 0.22.0 requires numpy>=2.0, but you have numpy 1.26.4 which is incompatible.
thinc 9.0.0 requires blis<0.8.0,>=0.7.8, but you have blis 0.9.1 which is incompatible.
Successfully installed numpy-1.26.4
solves the issue.
Maybe should use a specific virtual environment as for instance rawpy that I work with uses Numpy 2.0.0.
Please do NOT ask question about LibreTranslate here! We have a forum at https://community.libretranslate.com for questions.
Please open an issue only to report faults and bugs.
For feature requests, please open pull requests directly! We accept all kinds of contributions. If you don't know how to code, you can still provide feedback, but please offer to contribute something (how are you going to help the project develop the feature?)
Remove these lines after reading it