Closed ShuyinOuyang closed 1 year ago
The error is :
INFO: Repository com_github_grpc_grpc instantiated at:
E:/pythonproject/code_contest/code_contests/WORKSPACE:4:15: in
contest_problem_pb2 corresponds to the Python generated code for the ContestProblem protocol buffer, which is needed to read the raw data from the dataset. contest_problem_pb2 is generated on the fly when using bazel for building, thus we don't support reading the data without using bazel.
I try to run the code with bazel, but there are some ERROR with the WORKSPACE; so I try to run the file 'print_names_and_sources.py' independently, but I fail to import contest_problem_pb2. I don't know how to solve this problem, is there another way to import this package?