Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"conda install spacy" resulting in: Solving environment: failed with initial frozen solve. Retrying with flexible solve. #146

Open
Jonnashell opened this issue Jan 14, 2021 · 2 comments

Comments

@Jonnashell
Copy link

I installed anaconda on Windows 10 (x64 OS Build: 19041.746) using Anaconda3-2020.11-Windows-x86_64.exe without any errors.

When trying to run conda install ntlk spacy only the nltk package was installed, and I got stuck in a loop of:
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ (loading)

After trying a bunch of fixes from conda/conda#9367 without any luck, I went to spacy's docs to see if there was any other way of installing spacy with conda.

I reinstalled anaconda several times while trying out different fixes, including the oneliner below, from spacy.

conda install -c conda-forge spacy

This worked fine for me.

Not sure if anyone else has this issue (as of now), but it might be of help to add this oneliner in your README as an option if conda install spacy doesn't work.

@BallisticPain
Copy link

BallisticPain commented Mar 4, 2021

I had to use...

conda config --set channel_priority false
conda update --all --yes
conda install -c conda-forge spacy

I'm not certain the first command was necessary but I think I tried to run an update command before I had set that and it didn't work. I'm also not sure that I needed to specify the channel, but decided to go ahead and do so. This got me to the latest version of spaCy (which at this time was v3.0.3).

@mateovlz
Copy link

Thanks a lot @BallisticPain I solve a problem installing cartopy and you answer help me.

conda install -c conda-forge cartopy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants