Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Sawtooth go-sdk setup does not work #25

Open
hitarshi opened this issue Mar 7, 2019 · 3 comments
Open

Sawtooth go-sdk setup does not work #25

hitarshi opened this issue Mar 7, 2019 · 3 comments

Comments

@hitarshi
Copy link

hitarshi commented Mar 7, 2019

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
Copy link
Contributor

@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
Copy link

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

@arsulegai
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants