You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am new to protobuf and get some errors when compiling simulation.proto.
I have installed the s2clientprotocol and run "protoc --python_out=. simulation.proto", but it failed.
"""
s2clientprotocol/sc2api.proto: File not found.
simulation.proto: Import "s2clientprotocol/sc2api.proto" was not found or had errors.
simulation.proto:29:14: "SC2APIProtocol.Observation" is not defined.
"""
Could you give me some advice on how to solve this error and compile simulation.proto?
The text was updated successfully, but these errors were encountered:
Hi. First of all, nice to see some interest in this project!
Regarding the compilation of protobuf, I hope to provide some automatic means of compiling it in the future. I might find time for this in the next week. In the meanwhile you will have to do manual compilation. To do that, you will have to take the *.proto files from the s2client-proto repo and put them in a folder named s2clientprotocol relative to from where you are calling the protoc command I think.
Note, however, that the code in this project was written for some older versions of the game, PySC2 and the s2clientprotocol. I don't know whether the code works for the current version. I might also get around to updating that during the next weeks though.
In any case, let me know if you have any further questions.
Hi, I am new to protobuf and get some errors when compiling simulation.proto.
I have installed the s2clientprotocol and run "protoc --python_out=. simulation.proto", but it failed.
"""
s2clientprotocol/sc2api.proto: File not found.
simulation.proto: Import "s2clientprotocol/sc2api.proto" was not found or had errors.
simulation.proto:29:14: "SC2APIProtocol.Observation" is not defined.
"""
Could you give me some advice on how to solve this error and compile simulation.proto?
The text was updated successfully, but these errors were encountered: