hyperledger-archives / sawtooth-sdk-go

https://wiki.hyperledger.org/display/sawtooth
Apache License 2.0
28 stars 40 forks source link

Sawtooth go-sdk setup does not work #25

Open hitarshi opened 5 years ago

hitarshi commented 5 years ago

When I try go generate command the following error is thrown.

Traceback (most recent call last): File "./protogen", line 25, in from grpc.tools.protoc import main as _protoc ImportError: No module named 'grpc' gen.sh: line 24: mockgen: command not found gen.go:1: running "bash": exit status 127

arsulegai commented 5 years ago

@hitarshi Please refer to the file at https://github.com/hyperledger/sawtooth-sdk-go/blob/master/Dockerfile

2 steps

  1. Install debs you see in this dockerfile.
  2. Go get packages seen before go generate in this dockerfile.
raghavendrajain commented 5 years ago

@arsulegai can you please give some commands to do that? thank you!

arsulegai commented 5 years ago

@raghavendrajain You can find commands from line 35 to 66 in the above mentioned Dockerfile.