Skip to content
Discussion options

You must be logged in to vote

Hmm, those instructions are a little unexpected, since there's no package named spacy-misc.

I would suggest:

  • start in a new venv

  • install all packages in one command with python -m pip so that requirements can all be resolved together and you'll see any conflicts (I think you can leave out transformers[sentencepiece] for this particular example)

    python -m pip install "spacy-llm[transformers]"
  • run python -m pip check to see if there any conflicts (there shouldn't be any, so just in case)

  • check the version of spacy-llm with python -m pip list

And then double-check that the python command you're using with python -m pip is the same python command you're using to run your script.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@TongmengXie
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@TongmengXie
Comment options

@adrianeboyd
Comment options

Answer selected by TongmengXie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/llm Feature: LLMs (incl. spacy-llm)
3 participants
Converted from issue

This discussion was converted from issue #12970 on September 08, 2023 10:01.