Skip to content

alysis 0.1.1 requires spacy==3.0.7, but you have spacy 3.2.4 which is incompatible. #16

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

Open
EmanuelFaria opened this issue Jun 20, 2022 · 1 comment

Comments

@EmanuelFaria
Copy link
Collaborator

Issue: Spacy and SciSpacy have conflicts with docanalysis:

What I did:
Installed a scispacy module using the following command:

[](% pip3 install https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.5.0/en_core_sci_lg-0.5.0.tar.gz
Collecting https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.5.0/en_core_sci_lg-0.5.0.tar.gz)

What happened:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
scispacy 0.4.0 requires spacy<3.1.0,>=3.0.0, but you have spacy 3.2.4 which is incompatible.
en-core-web-sm 3.0.0 requires spacy<3.1.0,>=3.0.0, but you have spacy 3.2.4 which is incompatible.
docanalysis 0.1.1 requires spacy==3.0.7, but you have spacy 3.2.4 which is incompatible.

After installing the version of spacy required by v0.1.1 of docanalysis running the following command:
pip3 install spacy==3.0.7
...the docanalysis dependency error was resolved, but the other errors remained:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spacy-transformers 1.1.6 requires spacy<4.0.0,>=3.1.3, but you have spacy 3.0.7 which is incompatible.
en-core-sci-scibert 0.5.0 requires spacy<3.3.0,>=3.2.3, but you have spacy 3.0.7 which is incompatible.
en-core-sci-lg 0.5.0 requires spacy<3.3.0,>=3.2.3, but you have spacy 3.0.7 which is incompatible.
@EmanuelFaria
Copy link
Collaborator Author

I found this document about dependency resolution. Maybe it will be helpful:

https://pip.pypa.io/en/stable/topics/dependency-resolution/

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

1 participant