Impossible to install a model with Poetry #10278
-
poetry add spacy works I don't know what to do, it worked on older versions. Spacy should work with Poetry, I have lost a day already with this. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
https://stackoverflow.com/questions/56239310/could-not-find-a-version-that-satisfies-the-requirement-torch-1-0-0 |
Beta Was this translation helpful? Give feedback.
-
Please do not ping individual maintainers, it disrupts notifications. I'm not exactly sure why this isn't working, but it may help to know that the torch dependency isn't silent - it comes from spacy-transformers. Also the answer you link to is from October 2020, and while Pytorch is a little slow to support new Python versions, at least 3.9 is supported without issue. (3.10 seems to have a Linux wheel out but may be a work in progress, see pytorch/pytorch#67669). It might help if you include your full Poetry file - for example, you haven't clarified what version of Python you're trying to use. |
Beta Was this translation helpful? Give feedback.
Please do not ping individual maintainers, it disrupts notifications.
I'm not exactly sure why this isn't working, but it may help to know that the torch dependency isn't silent - it comes from spacy-transformers. Also the answer you link to is from October 2020, and while Pytorch is a little slow to support new Python versions, at least 3.9 is supported without issue. (3.10 seems to have a Linux wheel out but may be a work in progress, see pytorch/pytorch#67669).
It might help if you include your full Poetry file - for example, you haven't clarified what version of Python you're trying to use.