Issue
I'm using pip
to install a package that will require protobuf
from multiple dependencies using different versions' requirements.
Using pipdeptree
i can see that no package requires a version of protobuf
higher than 4.0 but toto.lightstep
requires a version of protobuf
lower than 4.0
toto-wrapper==0.2.0
- toto-protobuf [required: >=0.0.2, installed: 0.0.2]
- protobuf [required: Any, installed: 4.21.5]
- toto.lightstep [required: Any, installed: 1.4.1]
- protobuf [required: >=3.0.0b2.post2, installed: 4.21.5]
- protobuf [required: >=3.15.0,<5.0.0dev, installed: 4.21.5]
- protobuf [required: >=3.6.0,<4.0, installed: 4.21.5]
- protobuf [required: Any, installed: 4.21.5]
Isn't pip
supposed to resolve this kind of requirement to install just the right version?
Edit: This happens on a fresh new environment protobuf
isn't installed prior lightstep
.
Solution
This is actually due to an old version of pip 20.0.2
. Upgrading to 22.2.2
fixed the issue.
Answered By - Bertrand
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.