Skip to content

Impossible to install a model with Poetry #10269

@LifeIsStrange

Description

@LifeIsStrange

poetry add spacy works
it resolves to
setuptools = "^60.8.2"
wheel = "^0.37.1"
spacy = "^3.2.2" in my pyproject.toml however
en_core_web_trf = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.2.0/en_core_web_trf-3.2.0-py3-none-any.whl" }
or poetry add https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.2.0/en_core_web_trf-3.2.0-py3-none-any.whl
leads to the following error:
Unable to find installation candidates for torch (1.10.2)

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.
On a fresh virtual env, with python 3.10
@adrianeboyd friendly ping help plz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions