Open nbhupendra opened 5 years ago
same error
@nbhupendra do you run this command inside aster
directory?
@fink-stanislav thanks for your reply! i have solved the problem. there are two ways to solve it method1. if you are inside aster directory ,run the command : protoc *.proto --python_out=. or method2. if you are inside aster's parent directory,run the command :protoc aster/protos/.proto --python_out=.
Is it protos or proto? Because the child directory is named protos (plural). Spelling matters. Does it matter here?
Regardless , neither protos nor proto works.
Current directory: /Users/me/aster ( I assume this is was you mean by "inside aster directory"). Aster directory looks like this:
├── LICENSE
├── README.md
├── builders
├── c_ops
├── convnets
├── core
├── data
├── data_decoders
├── demo
├── demo.py
├── eval.py
├── eval_util.py
├── evaluator.py
├── experiments
├── meta_architectures
├── overview.png
├── predictors
├── protos
├── tools
├── train.py
├── trainer.py
└── utils
I run the command: protoc *.proto --python_out=.
*.proto: No such file or directory
Maybe its the spelling:: protoc *.protos --python_out=.
*.protos: No such file or directory
If you're in the aster
directory (for example, /Users/me/aster
), the command should be protoc protos/*.proto --python_out=.
.
Please help Error getting -while running protoc aster/protos/.proto --python_out=. aster/protos/.proto: No such file or directory