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

Lib version conflicts in requirements.txt #10

Open
ancatmara opened this issue Aug 23, 2023 · 0 comments
Open

Lib version conflicts in requirements.txt #10

ancatmara opened this issue Aug 23, 2023 · 0 comments

Comments

@ancatmara
Copy link

ancatmara commented Aug 23, 2023

Can't get Semantic@ running on Windows. When I'm trying to install required packages from requirements.txt in a new environment, some of them have conflicting dependencies:

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.
transkribus-client 0.3.3 requires lxml==4.6.3, but you have lxml 4.8.0 which is incompatible.
transkribus-client 0.3.3 requires requests==2.28.1, but you have requests 2.27.1 which is incompatible.
spyder 5.1.5 requires pylint<2.10.0,>=2.5.0, but you have pylint 2.13.8 which is incompatible.
pydantic-core 2.3.0 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.2.0 which is incompatible.
doccano 1.8.4 requires pydantic<3.0.0,>=2.0.3, but you have pydantic 1.8.2 which is incompatible.

I tried to resolve some of these conflicts manually by upgrading/downgrading packages mentioned in the traceback above. In the end, it boiled down to different libraries requiring different versions of pydantic.

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.
doccano 1.8.4 requires pydantic<3.0.0,>=2.0.3, but you have pydantic 1.8.2 which is incompatible.

When I upgrage pydantic, it becomes incompatible with other required packages.

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.
thinc 8.0.15 requires pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4, but you have pydantic 2.0.3 which is incompatible.
spacy 3.3.0 requires pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4, but you have pydantic 2.0.3 which is incompatible.
confection 0.0.2 requires pydantic!=1.8,!=1.8.1,<1.10.0,>=1.7.4, but you have pydantic 2.0.3 which is incompatible.

In both cases, python run.py doesn't work because of different pydantic errors.

Screenshot_2 Screenshot_1

Although there were no problems installing the versions of lxml, requests, pylint and typing-extentions mentioned in the first traceback, they might be contributing to errors too, because pip picked them up as conflicts in the frst place.

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