SpaCy 3.4.1 & Anaconda3-2022.05 install fail (package conflicts?) #11520
-
The install instructions (https://spacy.io/usage#conda) kinda indicate it should work but I can't install a recent spaCy in a recent Anaconda3. Specifically: Anaconda3-2022.05-Linux-x86_64.sh, spaCy 3.4.1
I also tried (think I noted these correctly): Anaconda3-2022.05-Linux-x86_64.sh, spaCy 3.3.1 : FAIL Miniconda3-py39_4.12.0-Linux-x86_64.sh, spaCy 3.4.1: Works
I also tried playing with different conda config setting for "channel_priority" and "allow_conda_downgrades" but not in a systematic way. So, at least for me, it looks like recent spaCy packages are fundamentally incompatible with recent Anaconda3 distributions. Any idea what I'm doing wrong? Is anyone else able to make this work? Which version of Anaconda should work with which versions of spaCy? Any help appreciated. (in all cases the Anaconda3 distributions were fresh, virgin, installs) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hmm, I wasn't able to replicate this locally so I'm not entirely sure what's going on. As far as I'm aware we haven't had any other reports of particular versions of anaconda being incompatible with the conda-forge packages that we maintain. Can you try temporarily removing any custom channel-related settings in your |
Beta Was this translation helpful? Give feedback.
-
Will try some other experiments thanks. (Pretty sure i tried wo strict but
will check)
…On Fri, Sep 23, 2022, 04:58 Adriane Boyd ***@***.***> wrote:
Hmm, I wasn't able to replicate this locally so I'm not entirely sure
what's going on. As far as I'm aware we haven't had any other reports of
particular versions of anaconda being incompatible with the conda-forge
packages that we maintain.
Can you try temporarily removing any custom channel-related settings in
your .condarc and installing again? Because of the message at the bottom
that "strict channel priority may have removed packages required for
satisfiability" it does sound like the problem might be related to the
channel order or channel priority settings?
—
Reply to this email directly, view it on GitHub
<#11520 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALWTX46URFRDBPSUKPEFVETV7VWMFANCNFSM6AAAAAAQQFE56M>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I just tried again with the latest Anaconda (2022.10) and the latest spacy (3.4.3) and still can't get it to work. I was able to start with Miniconda and build up from there. I tried so many things, but I think I was also able to start with a full Anaconda and install into a environment (but that's such a kludge...) I think starting with Anaconda it is just too bloated and can't figure out a compatible set of packages (spacy isn't the only place I run into this), so maybe it's time to just give up on Anaconda. If anyone can unpack a full Anaconda (2022.10?) and then "conda install spacy=3.4.3" and get it to work (linux) I'd be curious to see what version of Anaconda you use, "conda info", "conda config --show", your .condarc, etc... (If there's a way to mark this as not so much "answered" but as resolved/hopeless... feel free ;^)) |
Beta Was this translation helpful? Give feedback.
I've just installed spaCy 3.4.1 in a new conda environment successfully. While it did take a while to solve for the environment, eventually it did work.
Here's my output from
conda info
: