-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pydantic version conflict between medcat and spacy #2
Comments
Please try: pip3 install --use-deprecated=legacy-resolver zensols.dsprov and let me know if it works. |
I looked a little more into this. The deprecated legacy resolver is needed for spaCy. I have updated the installation instructions. Note that you should use Python 3.10. (I'll eventually upgrade to 3.11). Please take a look at that and let me know if that does the trick. |
The command installs most packages. However, there are still some conflicts. The stacktrace: ERROR: pip's legacy dependency resolver does not consider dependency conflicts when selecting packages. This behaviour is the source of the following dependency conflicts. But also: (I don't yet have access to the database, so I can't test by running the examples.) |
Hi @bauerem, The top portion of the message is a warning about incompatible package versions found by pip. Are you starting from a new virtual environment or where there already packages installed in this environment? As you can see, pip still installed the packages but these version differences could cause issues. Regarding the database, you have to register and take a course. Once you download the MIMIC-III database, follow the instructions to create the MIMIC-III SQLite database. I have tried to automate as much of this process as possible. But there are a lot of moving parts, dependencies, and some bureaucracy (PhysioNet w/MIMIC-III data I'm not allowed to distribute). Try this and then let me know how it goes. |
I get a dependency conflict between the pydantic versions required by medcat and spacy:
$ pip3 install zensols.dsprov
...
ERROR: Cannot install medcat and zensols.mednlp because these package versions have conflicting dependencies.
The conflict is caused by:
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.4.1 depends on pydantic!=1.8, !=1.8.1, <1.10.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.4.0 depends on pydantic!=1.8, !=1.8.1, <1.10.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.3.3 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.3.2 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.3.1 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.3.0 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.2.6 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.2.5 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.2.4 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.2.3 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.2.2 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.2.1 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.2.0 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.1.7 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.1.6 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.1.5 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.1.4 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.1.3 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.1.2 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.1.1 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
medcat 1.7.0 depends on pydantic>=1.10.0
spacy 3.1.0 depends on pydantic!=1.8, !=1.8.1, <1.9.0 and >=1.7.4
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
The text was updated successfully, but these errors were encountered: