Closed afarchant closed 8 months ago
The error message doesn't say which dependencies are conflicting? I guess it's because some dependencies don't support Python 3.12, please try 3.11.
The error message doesn't say which dependencies are conflicting? I guess it's because some dependencies don't support Python 3.12, please try 3.11.
Correct, it seems like torch
is the conflicting package and that it doesn't support Python 3.12. I got the following information when trying to run the WordDumb pip install
command manually.
ERROR: Cannot install en-core-web-trf because these package versions have conflicting dependencies. The conflict is caused by: spacy-curated-transformers 0.2.1 depends on torch>=1.12.0 spacy-curated-transformers 0.2.0 depends on torch>=1.12.0
How can I make Worddumb use Python 3.11 while having 3.12 installed as well? I have tried setting my global Python version to 3.11 in various ways, but WordDumb still attempts to pip install
to the following target
(...)\AppData\Roaming\calibre\plugins\worddumb-libs-py3.12
I add a new configuration option to set the Python interpreter path: https://github.com/xxyzz/WordDumb/commit/3304d23f4bc9651f7cffefbf0638de4167c99e20
Thank you so much, really appreciate all the work you do with this fantastic plugin. Will it be available as a new release, updateable via calibre plugin explorer?
Happy new year!
You could download the test plugin from GitHub Actions Artifact: https://github.com/xxyzz/WordDumb/actions/runs/7370508662
If the commit fixes the error and hopefully doesn't have new bugs I'll create a release.
v3.30.0 is released, close the issue now.
Checkboxes
Describe the bug
There seems to be a dependencies conflict when attempting to install en-core-web-trf (when CUDA is enabled). It does work when not using CUDA like when using the en-core-web-md model. Only during the installation of en-core-web-trf am I having issues. I tried multiple times, installing, uninstalling, deleting the worddumb-libs-py3.12 folder and reinstalling with no success.
Operating System name and version
Windows 11
Python version
3.12
calibre version
6.27
WordDumb plugin version
3.29.7
Error message
Plugin settings and reproduce steps
0.Check the box that says ”Run spaCy with GPU(requires CUDA)
Generated files, screenshots or videos