protobuf-to-dict
protobuf-to-dict copied to clipboard
name 'long' is not defined
python 3.8 install from pip, run import encounter name 'long' is not defined error
from protobuf_to_dict import protobuf_to_dict
NameError Traceback (most recent call last)
~/miniconda3/envs/UDL-rtwr/lib/python3.8/site-packages/protobuf_to_dict.py in
NameError: name 'long' is not defined
yep, see same thing... please fix
BTW - if i comment all the long in the map, i get
name 'unicode' is not defined
if sys.version_info > (3, 0): long, unicode, basestring = int, str, str
A working solution to this problem is mentioned in another issue: https://github.com/benhodgson/protobuf-to-dict/issues/15#issuecomment-368152202