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

Would it be possible to build recent (>=4.6.0) opencv with protobuf <3.20? #356

Closed
DManowitz opened this issue Mar 29, 2023 · 4 comments
Closed
Labels

Comments

@DManowitz
Copy link

Comment:

I would like to install opencv with tensorflow on Windows, but tensorflow (at least as of version 2.11) wants protobuf <3.20. Would it be possible to build (lib)opencv 4.6.0 or 4.7.0 with protobuf <3.20?

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Jul 2, 2023

Unfortunately, buliding out too many "options" leads to alot of churn from the maintenance side.

can you please share your usecase, h-vetinari has been working hard on protobuf and we have not seen any challenges installing modern protobufs with most packages.

Understanding your usecase may help us find a solution forward.

@DManowitz
Copy link
Author

At the moment I'm just experimenting, but I would like to be able to use Tensorflow with GPU support on native Windows, which requires Tensorflow <2.11, and these versions of Tensorflow require protobuf <3.20.

@hmaarrfk
Copy link
Contributor

hmaarrfk commented Dec 9, 2023

I guess i should expand to say that if you just want to experiment, the best way is to get your local build environment up and runnign and to update the file
#386

and use

conda build -m .ci_support\... recipe

and upload the packages you need to your own channel. that cuts all the review time.

If we can write the extra builds you need in a recipe i'm more open to it. given there is enough comments surrounding it.

@hmaarrfk
Copy link
Contributor

closing this as it is likely stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants