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

[Question] How to install? #48

Closed
colinmiller94 opened this issue Aug 2, 2023 · 2 comments
Closed

[Question] How to install? #48

colinmiller94 opened this issue Aug 2, 2023 · 2 comments

Comments

@colinmiller94
Copy link

Per the readme: I've done:
pip install protovalidate

And created the example .proto (and named it transaction.proto)
Then try protoc --python_out=. transaction.proto

Unsurprisingly:

buf/validate/validate.proto: File not found.
transaction.proto:6:1: Import "buf/validate/validate.proto" was not found or had errors.

Seems like the .proto it's looking for is in the main repo, but I've been stuck to trying to get the import to work.

elliotmjackson added a commit that referenced this issue Aug 14, 2023
#48 highlights there may be some documentation gap in generating code, I
propose a detailed `generating code` section to combat this
@elliotmjackson
Copy link
Contributor

Hi @colinmiller94 I've updated our readme to include some more information on how to include dependencies and generate code.

@elliotmjackson
Copy link
Contributor

resolved in #54

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

2 participants