简体   繁体   中英

Unable to update spacy to newer version 3 in conda enviroment

I have been trying to update spacy to the new version in conda environment. I have not been successful though I have used the below command conda update spacy=3.0 and

(base) hadi@notebook:~$ conda install -c conda-forge spacy=3.0
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

I had almost exactly the same problem, but I was using PyCall in Julia.

The solution for me was to remove spacy, clean conda and then manually add conda-forge as a channel and then reinstall spacy.

conda remove spacy
conda clean
conda config --add channels conda-forge
conda install spacy

explicitly adding the channel may be what actually fixed the problem, but I am not sure.

thanks. I got answer issue was spacy has not released version 3 for conda.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM