Skip to content

condaenv parameter does not work properly when default "spacy_condaenv" is present #157

@ibombonato

Description

@ibombonato

I am trying to initialize spacy in another env, not the default one, but it always point to "spacy_condaenv" even when I pass another one.

spacy_initialize(model = "pt", condaenv = "spacy_br", refresh_settings = TRUE, entity = TRUE)
> Found 'spacy_condaenv'. spacyr will use this environment

After I remove the "spacy_condaenv" from conda it started properly

spacy_initialize(model = "pt", condaenv = "spacy_br", refresh_settings = TRUE, entity = TRUE)
> successfully initialized (spaCy Version: 2.0.18, language model: pt)
(python options: type = "condaenv", value = "spacy_br")

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