-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
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
Add requirements.txt protobuf<=3.20.1
#8017
Conversation
protobuf==3.20.1
protobuf==3.20.1
protobuf==3.20.1
protobuf<=3.20.1
protobuf<=3.20.1
protobuf<=3.20.1
* Pin `protobuf==3.20.1` * Update requirements.txt * Update ci-testing.yml
There is compatibility issue with tensorboard 2.9.1. ERROR: tensorboard 2.9.1 has requirement protobuf<3.20,>=3.9.2, but you'll have protobuf 3.20.1 which is incompatible. OS: Ubuntu 20.04 LTS I changed protobuf<=3.20.1 to protobuf<3.20.0, tensorboard 2.9.1 installed successfully (all the packages are installed successfully). |
@addiercv <=3.20.1 is fully compatible with <3.20 How to create a Minimal, Reproducible ExampleWhen asking a question, people will be better able to provide help if you provide code that they can easily understand and use to reproduce the problem. This is referred to by community members as creating a minimum reproducible example. Your code that reproduces the problem should be:
For Ultralytics to provide assistance your code should also be:
If you believe your problem meets all the above criteria, please close this issue and raise a new one using the π Bug Report template with a minimum reproducible example to help us better understand and diagnose your problem. Thank you! π |
* Pin `protobuf==3.20.1` * Update requirements.txt * Update ci-testing.yml
protobuf >=4 is unstable and breaking CI and training. Pinning to 3.20.1 temporarily to resolve. See #8012
π οΈ PR Summary
Made with β€οΈ by Ultralytics Actions
π Summary
Improved package dependency management in YOLOv5's CI and requirements.
π Key Changes
protobuf==3.20.1
version from CI workflow files.protobuf<=3.20.1
constraint to therequirements.txt
file.π― Purpose & Impact
protobuf
across different setup configurations, ensuring compatibility and preventing potential issues as noted in a specific YOLOv5 GitHub issue.protobuf
package version when setting up YOLOv5, leading to a smoother experience.