Unable to go get flow-go-sdk

Hi, tried to install flow-go-sdk on ubuntu using go get -u github.com/onflow/flow-go-sdk but i’m getting an error “go/src/github.com/onflow/cadence/runtime/interpreter/decode.go:43:18: undefined: cbor.StreamDecoder”. How can i go about solving this issue?

@sideninja Any idea what is happening here?

I tried the same installation on my host machine which is on Windows and its fine. Not sure if it’s a problem with my VM or the ubuntu environment.

Might be an issue with your workspace/GOPATH? Maybe try command with flags go get -u -v -f all

1 Like

Did anyone solve the problem ? How to solve it ? I meet the same error on Windows.

I have opened https://github.com/onflow/flow-go-sdk/pull/197 to fix this