-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Dear team,
This error is thrown both when executing the .py as well as when I built my own code.
File "GettingStarted.py", line 9, in
from UbirchWrapper import UbirchWrapper
File "C:.........my path....\ubirch-protocol-python-ecdsa-betterReadMe\ubirch-protocol-python-ecdsa-betterReadMe\examples\UbirchWrapper.py", line 7, in
from ubirch.ubirch_protocol import UNPACKED_UPP_FIELD_PREV_SIG, UBIRCH_PROTOCOL_TYPE_REG, UBIRCH_PROTOCOL_TYPE_BIN
ImportError: cannot import name 'UNPACKED_UPP_FIELD_PREV_SIG' from 'ubirch.ubirch_protocol'
I looked into the ubirch_protocol and could not find the constant parameters to be imported.
According to the documentation here I am using ubirch-protocol version 3.1.0. I've cloned the directory, loaded requirements.txt and locally and executed the .py
Is this example obsolete? Thanks and reagards.