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

ERROR: Cannot install -r requirement.txt (line 35), -r requirement.txt (line 39) and protobuf==3.20.0 because these package versions have conflicting dependencies. #3

Open
xc-chen3 opened this issue Dec 3, 2024 · 1 comment

Comments

@xc-chen3
Copy link

xc-chen3 commented Dec 3, 2024

INFO: pip is looking at multiple versions of tensorflow to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirement.txt (line 35), -r requirement.txt (line 39) and protobuf==3.20.0 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested protobuf==3.20.0
tensorboardx 2.6.2 depends on protobuf
tensorflow 2.7.4 depends on protobuf<3.20 and >=3.9.2

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

@xc-chen3
Copy link
Author

xc-chen3 commented Dec 3, 2024

$ python --version
Python 3.9.20

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