Closed kpachbiu88 closed 10 years ago
Looks like you don't have Google Protocol buffers installed, you can get it here https://developers.google.com/protocol-buffers/ You also need Snappy - http://code.google.com/p/snappy/
I stopped work on the replay parser when Valve didn't release any more documentation, so you might want to look at https://github.com/skadistats/skadi instead
root@user:/var/www/web/replays# dota2py_parser 453925435.dem Traceback (most recent call last): File "/usr/local/bin/dota2py_parser", line 2, in
from dota2py import parser
File "/usr/local/lib/python2.7/dist-packages/dota2py/parser.py", line 9, in
from dota2py import messages
File "/usr/local/lib/python2.7/dist-packages/dota2py/messages.py", line 5, in
from dota2py.proto import demo_pb2, netmessages_pb2, usermessages_pb2
File "/usr/local/lib/python2.7/dist-packages/dota2py/proto/demo_pb2.py", line 3, in
from google.protobuf import descriptor
ImportError: No module named google.protobuf
root@user:/var/www/web/replays#