-
Notifications
You must be signed in to change notification settings - Fork 4
dependency conflicts probhibit use of some other sciSpacy models #28
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
Comments
Update: upon running "en_core_sci_scibert" using:
It seems to have run without printing Errors in red, and it didn't output the csv, but here's the final lines of output:
Also, I'm not sure what, if anything, it did to the sections that already existed because I had previously run:
Is it possible to run these two commands, one after the other? If not, that should be noted in the instructions because I would have duplicated my corpus before running any sectioning. Please let me know Thanks |
Running the two commands you have pasted one after the other shouldn't be a problem. We haven't tested |
@Mannyrules @ShweataNHegde I have also updated docanalysis with new requirements and pushed it as a new version because of conflicts as manny said. |
Awesome!!! Thanks @ayush4921 ! I'll try some of the other scispacy models too, and let you know if there's any conflicts. I remember during the hackathon, at least one of the attendees also asked about the biomedicine models for scispacy, so it's not just me. :) |
@ayush4921 I ran
I then ran |
@ayush4921 by the way, the version in the help menu says |
Is it possible to add a prompt like "You have version x of docanalysis installed. The latest version is x.1" would you like to update now? [Y/N]"? If so, what would be a good addition for all the programs |
Its definitely not common in the python world if I am not wrong since I haven't seen it before but seems like a neat addition. I can look into that. |
Fixed |
Ok, I'm trying out installing the other scispacy models on this page: https://allenai.github.io/scispacy/
|
I installed the
en_core_sci_scibert
model from https://allenai.github.io/scispacy/ using the following command:pip install https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.5.1/en_core_sci_scibert-0.5.1.tar.gz
and got the following errors:
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.4.4 which is incompatible.
en-core-web-sm 3.0.0 requires spacy<3.1.0,>=3.0.0, but you have spacy 3.4.4 which is incompatible.
docanalysis 0.2.0 requires spacy==3.0.7, but you have spacy 3.4.4 which is incompatible.
I then installed the
en_core_sci_scibert
module using:pip install https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.5.1/en_core_sci_lg-0.5.1.tar.gz
and got no errors. Yipee!!
The text was updated successfully, but these errors were encountered: