andrewsnowden / dota2py

Python tools for Dota 2
MIT License
115 stars 36 forks source link

dota2py_parser error #10

Closed kpachbiu88 closed 10 years ago

kpachbiu88 commented 10 years ago

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#

andrewsnowden commented 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